From: PraDz [mailto:[EMAIL PROTECTED]
Subject: Tomcat Security
How do i restrict users from entering the image/text files
path directly in the browser.
Instead of putting your image/text directories under your Host's
appBase, put them under the associated app's WEB-INF directory, where
i wanna avoid this problem too but i am a student now having my internship
to do my Final Year Project. so there is no choice because i got a PC that
is running on Windows98. so what to do. i have to live with it and find
solutions to work it out. =)
this computer is running on 128mb ram. do u
just had to do the same at university a few days ago. at least tomcat
5.5.17 works well on win98se... and jre 1.5 works fine as well...
Eric wrote:
i wanna avoid this problem too but i am a student now having my
internship
to do my Final Year Project. so there is no choice because i got a PC
but my friend tried apache tomcat 5.5, he said the whole computer almost
hang. is it possible with my 128mb ram? i am going to merge it with
JCreator. is that possible as well? because my team mate has a notebook
running on windowsXP so she is running with eclipse. i dont think this com
can do
i'll give it a try with win98 and 128MB of RAM later. i post the results
when im done
--Stephan
Eric wrote:
but my friend tried apache tomcat 5.5, he said the whole computer almost
hang. is it possible with my 128mb ram? i am going to merge it with
JCreator. is that possible as well? because
thanks. do keep me in touch abt the results
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
i'll give it a try with win98 and 128MB of RAM later. i post the results
when im done
--Stephan
Eric wrote:
but my friend tried apache tomcat 5.5, he said the whole computer almost
hang. is
Hi everyone,
My environment: win2003 / Tomcat 5.5.17 / IIS / isapi filter 1.2.19.0
I've 3 instances of Tomcat running simultanously
IIS is configured to serve those 3 websites with a different isapi filter
configuration for each one.
When a client opens a newly httpSession jsessionid is inserted
And try adding Aliasmyhost.com/Alias, instead of changing the host
name. The latter changes expected dir locations too, which is probably
why your app is broken.
p
Caldarale, Charles R wrote:
From: Alan Burlison [mailto:[EMAIL PROTECTED]
Subject: Changing defaultHost from localhost to a
Hi
Although I have installed Tomcat 5.5 using the default directory the
installation gives me and have defined password as you can see on the
attached file
When I try to connect to Tomcat Manager I receive the message
Unauthorized when connecting to http://127.0.0.1:8080/
what should be the
I forgot to attach the
file
Datamanagement S.p.A
Ing.Daniela Marangoni
Via S. Cavina 7 - 48100 Ravenna
Tel: 0544 503505
Cell: 3473553749
[EMAIL PROTECTED]
-Messaggio originale-
Da: Daniela Marangoni
[mailto:[EMAIL PROTECTED]
Inviato: venerdì 27 ottobre 2006
10.40
A:
Hello Daniela,
there are no firewall there in your system that lock the localhost? Did
you check that?
Cheers
Roberto
Montefiore SA
CH-6934 Lugano-Bioggio
Daniela Marangoni ha scritto:
Hi
Although I have installed Tomcat 5.5 using the default directory the
installation gives me and have
I don't think so because if I install it on a local computer I don't have
any problems in connecting to Tomcat. Do you think that any upgrade of
Windows2000 could have locked the localhost? How can I see if the localhost
is locked?
Datamanagement S.p.A
Ing.Daniela Marangoni
Via S. Cavina 7 -
ping localhost
How can I see if the localhost
is locked?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
My localhost is not locked because when i ping it , I receive:
Pinging serveruni [127.0.0.1] with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time10ms TTL=128
Reply from 127.0.0.1: bytes=32 time10ms TTL=128
Reply from 127.0.0.1: bytes=32 time10ms TTL=128
Reply from 127.0.0.1: bytes=32
Do you I need to define 8080 on file services located on the directory:
Winnt\system32\drivers??
Datamanagement S.p.A
Ing.Daniela Marangoni
Via S. Cavina 7 - 48100 Ravenna
Tel: 0544 503505
Cell: 3473553749
[EMAIL PROTECTED]
-Messaggio originale-
Da: Stephan Schöffel [mailto:[EMAIL
Hello everybody,
I have a TimerTask. I start it manually (on a jsp page) and it execute a method
every one hour.
If someone restart Tomcat server, the TimerTask won't be executed any more. I
have to start it manually again. Go to the page an click start button.
Is there a possibility, to
I have written a Realm that uses LDAP to login to racf. When a user enters
their username and password incorrectly or their password has expired I want
to give them feedback so they can take appropriate action. I am trying to
use a static ThreadLocal within the realm I created to store any
On 27/10/06, Pid [EMAIL PROTECTED] wrote:
And try adding Aliasmyhost.com/Alias, instead of changing the host
name. The latter changes expected dir locations too, which is probably
why your app is broken.
I suspect you are right - I renamed the directories under Catalina
from localhost to the
Hi
I have tried with user test
?xml version='1.0' encoding='utf-8'?
tomcat-users
role rolename=tomcat/
role rolename=role1/
role rolename=manager/
role rolename=admin/
user username=tomcat password=tomcat roles=tomcat/
user username=both password=tomcat roles=tomcat,role1/
user
Yes, when using the memory realm (tomcat-users.xml), bounce tomcat on
every change. Also (and this might be a typo in the email) use username
and password 'teste' as entered in the tomcat-users.xml. You said below
you tried the username and password 'test'.
--David
Daniela Marangoni wrote:
I have tried to stop and restart service but I still have the same error.
About the user I have tried with user teste not test as I said on my e-mail.
Datamanagement S.p.A
Ing.Daniela Marangoni
Via S. Cavina 7 - 48100 Ravenna
Tel: 0544 503505
Cell: 3473553749
[EMAIL PROTECTED]
-Messaggio
Il giorno ven, 27/10/2006 alle 11.31 +0200, Daniela Marangoni ha
scritto:
Hi
I have tried with user test
?xml version='1.0' encoding='utf-8'?
tomcat-users
role rolename=tomcat/
role rolename=role1/
role rolename=manager/
role rolename=admin/
user username=tomcat
Hi,
I must say that I am quite new to the whole web services (WS) paradigm,
but already have to deal with some serious matters which seem to grow a
bit over my head. So I am hoping you can help me by providing some
answers or links to relevant sites or documents (I am not to lazy to
read
Bertrand Baesjou wrote:
However for the authorization part we want to use different roles a
client can have (3 roles in our case). For this part we also want to use
certificates (preferably the same as in the authorization ones, but not
sure if that is possible or even good-practice).
Tomcat
Hello Users,
I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
'Tomcat Manager' page several times before, but I am having a problem
accessing
check log message ...
On 10/27/06, adeyemi adesina [EMAIL PROTECTED] wrote:
Hello Users,
I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
make sure tomcat is started
adeyemi adesina wrote:
Hello Users,
I got an error message The page cannot be found. when I tried to
access the 'Tomcat Manager' page by Clicking Start-All Programs-
Apache Tomacat 5.5- 'Tomcat Manager' on Windows XP. I have accessed the
'Tomcat Manager' page
i wont be able to try out until monday...
Eric wrote:
thanks. do keep me in touch abt the results
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
i'll give it a try with win98 and 128MB of RAM later. i post the results
when im done
--Stephan
Eric wrote:
but my friend tried
--
Philipp Suedmeyer
116 Gloucester Road
South Kensington
SW7 4XH London
United Kingdom
Mobile: +44 79 30 94 18 01
Alan-
If your host entry is pointing to the same IP as the host= in server.xml then
that will work e.g. localhost is same as myhost.com
If your host entry points to a different IP then change the host specification
in server.xml to the new host name in your situation myhost.com
Be sure to put
I am trying to run an application using tomcat on a debian based livecd
(Morphix).
I installed tomcat 5.5 using apt-get. The README.debian help file says
that debian is using dynamic links, so I wrote ' allowLinking=true '
to server.xml.
I built the war file on another machine, where I tested it
The problem persists despite the fact that the Apache Tomcat service is
running.
Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?
Thanks.
-Original Message-
From: Li
The problem persists despite the fact that the Apache Tomcat service is
running.
Attached are the contents of my log files that have sizes greater than
zero (0) kb. It seems port number 80 is in use. How do I assign another
port number to Tomcat 5.5?
Thanks.
-Original Message-
From:
In the name of all that is good, what university subjects its students to
using Windows 98!?
Brandon
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
i wont be able to try out until monday...
Eric wrote:
thanks. do keep me in touch abt the results
On 10/27/06, Stephan Schöffel
in server.xml look for this line:
Connector port=80 maxHttpHeaderSize=8192 maxThreads=150
minSpareThreads=25 maxSpareThreads=75 enableLookups=false
redirectPort=8443 acceptCount=100 connectionTimeout=2
disableUploadTimeout=true/
and change port then point to the tomcat start page via
fortunately i dont have to use it, but i have to make sure my apps run
on it. its in the spec...
Brandon Goodin wrote:
In the name of all that is good, what university subjects its students to
using Windows 98!?
Brandon
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
i wont be
From: Alan Burlison [mailto:[EMAIL PROTECTED]
Subject: Re: Changing defaultHost from localhost to a FQDN
The really annoying thing is the Tomcat documentation shows FQDN names
being used, yet it doesn't actually work unless you use 'localhost' -
if you need to make other changes when you
Hi,
Please verify you don't have packaged your webapp with a jsp-api in your
WEB-INF/lib
Rémy
-Message d'origine-
De : Cédric Wider [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 27 octobre 2006 14:33
À : users@tomcat.apache.org
Objet : Exception processing TLD
I am trying to
From: Alan Burlison [mailto:[EMAIL PROTECTED]
Subject: Re: Changing defaultHost from localhost to a FQDN
The odd thing is that it does appear to be serving *html* from under
the web application directory, just not JSPs. If I put an index.html
under webapps/ROOT I see the content.
I've
Hi is it possible to use a regular expression as a servlet-mappings url-pattern?
Ben
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Just to finish up this thread, I found that the root cause of my problems
was that I had a commons-logging.properties file buried in another jar file
that redirected logging to a logger that wasn't able to be initialized.
Kinda a catch-22. Anyway, thanks for the help.
Ben
On 10/25/06, Ben
Nope
-Tim
ben short wrote:
Hi is it possible to use a regular expression as a servlet-mappings
url-pattern?
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
Changing the port-number from 80 works!
Thanks so much.
-Original Message-
From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
Sent: Friday, October 27, 2006 3:00 PM
To: Tomcat Users List
Subject: Re: Hi
in server.xml look for this line:
Connector port=80 maxHttpHeaderSize=8192
Eric,
Why not just try it? You have the machine, and you can download
everything you need.
It would take maybe an hour to get it set up. Meanwhile, you're waiting
possibly days for someone to get back to you on the list...
-chris
Eric wrote:
but my friend tried apache tomcat 5.5, he said the
From: Daniela Marangoni [mailto:[EMAIL PROTECTED]
Subject: R: R: PROBLEMS CONNECTING TO TOMCAT MANAGER
Do you I need to define 8080 on file services located on the
directory:
Winnt\system32\drivers??
No. But, ping will not tell you if a specific port is blocked by your
Windows firewall.
no prob... take yr time. thanks alot for yr help. really appreciate it
alot!!!
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
i wont be able to try out until monday...
Eric wrote:
thanks. do keep me in touch abt the results
On 10/27/06, Stephan Schöffel [EMAIL PROTECTED] wrote:
Guys, I am pretty new to tomcat and am an AIX server engineer.
I have been asked to install tomcat on and AIX 5.3 server, install is fine
and starts ok however I notice multiple sessions being started for about 10
seconds which consume most of the cpu ( 18 way system )
Please can someone help
i am in a big organization but what surprise me are most of the computers
are using windows 98... that's the best part!! what to do. =)
On 10/27/06, Brandon Goodin [EMAIL PROTECTED] wrote:
In the name of all that is good, what university subjects its students to
using Windows 98!?
Brandon
On
From: Stephan Schöffel [mailto:[EMAIL PROTECTED]
Subject: Re: Howto continue TimerTask after Tomcat Server was
restarted
maybe you could put your timertask in an servlets init()
method and the put load-on-startup1/load-on-startup
in the web.xml of that servlet
Not recommended, since
You can write a ServletContextListener that is called when the app
starts and stops. You specify it by a listener tag in web.xml. See
the servlet spec for details.
--
Len Popp
[EMAIL PROTECTED]
http://www.lmp.dyndns.org/
On 10/27/06, Dort Wach [EMAIL PROTECTED] wrote:
Hello everybody,
I have a
Verified, there is no jsp-api in the WEB-INF/lib packaged.
Cédric
Hi,
Please verify you don't have packaged your webapp with a jsp-api in your
WEB-INF/lib
Rémy
-Message d'origine-
De : Cédric Wider [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 27 octobre 2006 14:33
À :
chlawren wrote:
Guys, I am pretty new to tomcat and am an AIX server engineer.
What command do you use to start Tomcat?
Why do you run Tomcat as root user?
--
Mikolaj Rydzewski [EMAIL PROTECTED]
smime.p7s
Description: S/MIME Cryptographic Signature
It is in a test phase at the moment, we have an account call online to start
tomcat here.
I run the /usr/local/tomcat/jakata/bin/startup.sh script
I can run as online but still the same issues.
chlawren wrote:
Guys, I am pretty new to tomcat and am an AIX server engineer.
From: Brandon Goodin [mailto:[EMAIL PROTECTED]
In the name of all that is good, what university subjects its
students to using Windows 98!?
A sensible Uni recognises that not all of its students wish to pay the
Microsoft Tax whenever a new OS release comes out. A frugal (but not
necessarily
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: RE: Apache with Windows 98
A sensible Uni recognises that not all of its students wish to pay the
Microsoft Tax whenever a new OS release comes out. A frugal (but not
necessarily sensible) Uni may also wish not to pay the Microsoft
I will be out of the office starting 27/10/2006 and will not return until
13/11/2006.
I will be picking up mail in NRM
If you have an urgent issue please contact extension .
-
To start a new topic, e-mail:
Hi, I have the following problem:
If I include the Servlet using the jsp:include tag and if the web.xml file
is configured correctly, it will invoke the Servlet, but the CSS won't load.
If I change the URL pattern, the Servlet won't be invoked (with a Resource
unavailable error) but the CSS is
Thanks Stephan,
I will try it. Maybe it will help me.
I'll let know later, if it won't.
Original-Nachricht
Datum: Fri, 27 Oct 2006 11:47:06 +0200
Von: Stephan Schöffel [EMAIL PROTECTED]
An: Tomcat Users List users@tomcat.apache.org
Betreff: Re: Howto continue TimerTask after
Not recommended, since there's no guarantee the init() method will only be
called once (a servlet may be instantiated multiple times). Better to use
a lifecycle listener; see section 10 of the servlet spec for details.
Also, make sure you have a reliable means of shutting down the timer
From: Dort Wach [mailto:[EMAIL PROTECTED]
Subject: Re: RE: Howto continue TimerTask after Tomcat Server
was restarted
I don't want to shut down TimerTask, but if someone, not me,
shut down the Tomcat server, or Tomcat server crashes, than
this someone will start it again.
If the timer
If your host entry is pointing to the same IP as the host= in server.xml then
that will work e.g. localhost is same as myhost.com
If your host entry points to a different IP then change the host specification
in server.xml to the new host name in your situation myhost.com
Be sure to put the
Robbert,
(Yes, I have three locations for the statistics servlet. I don't know where
to place it!)
See below.
$CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de
StatistiekServlet aan)
This should be fine.
$CATALINA_HOME/webapps/ROOT/doc/o23/StatistiekServlet
This
1. The location of servlet classes is documented in the spec. Place
them in either a directory structure that reflects the package structure
under WEB-INF/classes or in a jar file whose internal folder structure
reflects the package structure.
Ex.: Suppose you have the class
Christopher Schultz-2 wrote:
Robbert,
(Yes, I have three locations for the statistics servlet. I don't know
where
to place it!)
See below.
$CATALINA_HOME/webapps/ROOT/doc/o23/index.jsp (deze jsp file roept dus de
StatistiekServlet aan)
This should be fine.
Sorry about the
David Smith-2 wrote:
1. The location of servlet classes is documented in the spec. Place
them in either a directory structure that reflects the package structure
under WEB-INF/classes or in a jar file whose internal folder structure
reflects the package structure.
Ex.: Suppose you
Have you tried using getServletContext()?
(http://java.sun.com/products/servlet/2.3/javadoc/javax/servlet/ServletC
ontext.html)
We use this as a means to find and match our properties (stored in a
common property container directory by context) since we deploy multiple
instances of the same app
From: Robbert [mailto:[EMAIL PROTECTED]
Subject: Re: CSS not being used when a Servlet is involved
I'm using a link tag. It works fine if I take out the lines
in web.xml that define the Servlet + Servlet Mapping. But if
I add them back, it doesn't work anymore.
Does your mapping use /?
From: Robbert [mailto:[EMAIL PROTECTED]
Subject: Re: CSS not being used when a Servlet is involved
I'm calling the Servlet with
jsp:include page=StatistiekServlet flush=true /
Shouldn't the above be:
jsp:include page=/StatistiekServlet flush=true /
Isn't the leading slash required to make
I am part of a team that is replacing a cocoon application with spring
mvc. We have to keep the URL format for the application the same as
the current system.
The URLs are http://www.site.com/customername. We are currently
mapping everything to one DispatcherServlet. The problem is static
Hello Chuck
Yes, I also tried this quite a while back. Only problem: the
image tree is in the many GBytes size. And, in addition,
when redeploying, one has to be careful not to wipe out
such a static file tree.
But the major constraint is that such a static file tree may
be very large and its
Hi Chuck,
Do you have an example of this?
Ben
On 10/27/06, Caldarale, Charles R [EMAIL PROTECTED] wrote:
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
So I wanted to do something like map requests that are not
Caldarale, Charles R wrote:
From: Robbert [mailto:[EMAIL PROTECTED]
Subject: Re: CSS not being used when a Servlet is involved
I'm calling the Servlet with
jsp:include page=StatistiekServlet flush=true /
Shouldn't the above be:
jsp:include page=/StatistiekServlet flush=true /
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
Do you have an example of this?
Add this to your app's web.xml:
servlet
servlet-nametcdefault/servlet-name
Caldarale, Charles R wrote:
From: Robbert [mailto:[EMAIL PROTECTED]
Subject: Re: CSS not being used when a Servlet is involved
I'm using a link tag. It works fine if I take out the lines
in web.xml that define the Servlet + Servlet Mapping. But if
I add them back, it doesn't work
I think the essential problem in the css is the client is attempting to
guess the location of the css based on a relative URL and the address of
the main page. You could try giving it an absolute path:
${pageContext.request.contextPath}/myStyles.css
The client will receive an absolute path
From: Robbert [mailto:[EMAIL PROTECTED]
Subject: RE: CSS not being used when a Servlet is involved
Combining that with what you just said, I assume that you're
basically saying that my servlet tries to handle the link
tag that contains the URL to my CSS, but fails miserably in
the
Rainer,
What is your platform and what is errno 13 on your platform?
###how would I find out? our platform is Fedora Core 3 for this server.
Can you confirm, that tomcat listens on the port your worker p2 is
configured for (using netstat -n or a similar tool)?
###when I run netstat, it
Hi,
I got it working but changed to to the following..
web-app
display-nameArchetype Created Web Application/display-name
servlet
servlet-nametest/servlet-name
servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
Hello everyone,
could you please help me with a problem. My Tomcat is running on the following
configuration:
1. OS Centos 4
2. Java 1.5
3. Standalone Tomcat 5.5.12
4. 512MB RAM guaranteed/2GB Burst RAM
5. MySQL 4
I rent a VPS and if I run the 'cat /proc/user_beancounters' command I may see
I've just tried it again with both 5.5.20 and 6.0.0, changing
localhost to myhost.com in two places in server.xml (Host and
Engine) and in the Windows hosts file. Everything works, including
JSPs and servlets.
For 5.5.20, my server.xml is the default one with the two changes noted
above. You
Yes sir! This simple solution worked in the first try!!!
Thanks man!
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
-Original Message-
From: Gaël Lams [mailto:[EMAIL PROTECTED]
Sent: Friday, October 20,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat 5.5 Regular Expression as servlet-mapping
url-pattern
The default servlet is defined in the conf/web.xml file.
Good catch - it doesn't need to be redeclared.
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR
On 27/10/06, Asensio, Rodrigo [EMAIL PROTECTED] wrote:
Yes sir! This simple solution worked in the first try!!!
Thanks man!
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-ports 8080
iptables -A INPUT -p tcp --dport 8080 -j ACCEPT
For anyone who is running on Solaris 10 or
From: Maurice Yarrow [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat Security
What I currently do is serve the static content from elsewhere,
outside the tomcat/webapps tree.
Let's back up here for a moment. How are you delivering these
controlled images and text to the client? Are they,
From: Kim Albee [mailto:[EMAIL PROTECTED]
Subject: Re: Question with the Apache/Tomcat interface...
Can you connect to the ip and port specified with p2 from your
apache
machine with telnet?
e have telnet disabled on the server, as it is not
secure.
That's not what he was asking.
From: Alan Burlison [mailto:[EMAIL PROTECTED]
Subject: Re: Changing defaultHost from localhost to a FQDN
I have it working - well, kinda. If I deploy the application as ROOT,
and with ROOT as the docBase it works fine. If I move it to meshcms
(the WAR file name) and modify docRoot to
Chuck,
Caldarale, Charles R wrote:
From: Maurice Yarrow [mailto:[EMAIL PROTECTED]
Subject: Re: Tomcat Security
What I currently do is serve the static content from elsewhere,
outside the tomcat/webapps tree.
You still end up having to map the request to some resource location
on the
The above is confusing to me. Where is the app deployed?
webapps/ROOT (works) or webapps/meshcms (doesn't)
Where is the Context element for this app located?
conf/server.xml
What are the attributes specified for this Context?
Context path= docBase=ROOT reloadable=false /
With
From: Alan Burlison [mailto:[EMAIL PROTECTED]
Subject: Re: Changing defaultHost from localhost to a FQDN
Ah, and I'm using 5.5. I've checked the 5.5 docs and I can't find
*any* of those restrictions mentioned, other than a recommendation
that Context elements aren't placed in server.xml,
Chris, Chuck
The short answer is: if URL's are filtered first, then the actual location
DefaultServlet will need to use is not visible in any of the html.
Only for the authenticated serves will getPathInfo() be appropriately
adjusted and then passed to DefaultServlet.
Silly question for
Hello!
I am a new tomcat 5.5 user. I have created some JSPs and they run perfectly
in my PC using tomcat.
I want to make my PC a webserver, so that ppl from outside can access my JSPs
through tomcat 5.5 running on my system.
My PC is connected to a router and my router is
Note: forwarded message attached.
Everyone is raving about the all-new Yahoo! Mail.
---BeginMessage---
Hello! I am a new tomcat 5.5 user. I have created some JSPs and they run perfectly in my PC using tomcat.I want to make my PC a webserver, so that ppl from outside can access my
Hi,
Is there a way for the web application running in the embedded tomcat
to access objects in the main application. Here is the scenario,
1) Main application starts the embedded tomcat
2) Embedded tomcat loads up a web applicaiton
3) Now the web application wants to call some methods in the
Dear All:
I'm running tomcat 5.5.20 on a redhat 8 linux server (Linux
ruready.utah.edu 2.6.9-42.0.2.ELsmp #1 SMP Thu Aug 17 18:00:32 EDT 2006
i686 i686 i386 GNU/Linux).
My web application manages its own session pool. Every time a user logs
into the site, a session is created and stored
in
You may want to look into SessionListener/Session event Listener. I am not
sure what the issue is with regards to the timeout, setting timeout to 30
means the session should expire in 30 minutes. The timeout is really all you
should need as far as wanting to prevent idle sessions, after all that
Hi Edmond,
Thanks for your feedback. I am implementing a session listener and a
session event
with custom sessionCreated() and sessionDestroyed(). Indeed, I thought
that the timeout
is all I needed, but the point is ... that it doesn't work properly for
me on linux. It does on windows.
Well, I must admit, I run Ubuntu myself and I have noticed on a few
occasions (after multiple netbeans builds) that the session doesn't get
destroyed in a timely manner sometimes. So it is possible that there is an
issue but it happens for me very rearly, I don't know whether this is an
issue
From: Oren Livne [mailto:[EMAIL PROTECTED]
Subject: Problems with tomcat session timeout on linux
The problem: some times users log in and then close their
browser window (at least I assume so), but tomcat never
destroys their session. The session-timeout parameter is
set to 30 in
98 matches
Mail list logo