Kamil Burzynski wrote:
I would like to create one of my servlets to be 'sticky': to be sure
that Tomcat will never try to remove this servlet from memory.
Is load-on-startup enough? I know that it will start my servlet as
soon as tomcat starts, but will tomcat ever try to remove such servlet?
Fredy Provoste wrote:
Hi again, i've been deployed a webapp called libreria in Tomcat 6, i tried
to configure a mysql connection pool, so in the path
libreria
.
. META-INF/context.xml
put the lines
Context path=/libreria docBase=libreria debug=5 privileged=true
reloadable=true
Hi Andrew,
For Tomcat you can use:
http://localhost:8080/manager/status
Be sure to confugure conf/tomcat-users.xml.
Regards,
Ognjen
Andrew Hole wrote:
Could you tell me wich page?
On 9/18/07, Bj [EMAIL PROTECTED] wrote:
if you're using apache httpd and mod_jk in front of your tomcats,
OK, for some reason I've been obsessing about this for a whole day now.
If you hold an external reference to a Session then according to my
tests the session will still time out as expected but the external
reference will be non null. At the very least this means that you may
end up with a large
I see no reason you would need your servlet to stay in memory. As long
as it is alive when needed (that is when requests arrive) it's enough.
Maybe you problem is that it does much than serving request, like
running background thread, send message to people and so on. Then you
might simply
Just use WeakReference :)
Lyallex a écrit :
OK, for some reason I've been obsessing about this for a whole day now.
If you hold an external reference to a Session then according to my
tests the session will still time out as expected but the external
reference will be non null. At the very
Hello,
I see no reason you would need your servlet to stay in memory. As long
as it is alive when needed (that is when requests arrive) it's enough.
Maybe you problem is that it does much than serving request, like
running background thread, send message to people and so on. Then you
Hi,
I have implemented form based security on web app using JDBCRealm in
server.xml file. It has been implemented. Now i want to use some pre-req
before accessing any page in secure area say (faces/secure/main.xhtml).
My index page redirect to faces/secure/main.xhtml where it ask for login and
Thanks for all the feedback on this.
___
Gary Johnstone
Engineering IT
Cummins Turbo Technologies Ltd
+44 1484 440532
Lyallex
Filters are not invoked on j_security_check
If you need to do something special on login - you will need to store
some state in the session. (Like session variable called
didInitializeSession)
Then the filter can check for the existence of a
request.getUserPrincipal()
yeah i can get info from getPrincipal() but where should i put that code to
retrieve the info? where should i save the state in session? at login page?
no - then after login the secured page is going to open - i need to save
something or process something before it.
-alee
On 9/19/07, Tim Funk
Hi All,
I installed/configured Tomcat 6.0.13 version on Solaris SPARC server.
Also I installed Sun ONE web server 6.1 (Called currently as Sun Java
System Web Server). I want to integrate Sun ONE with Tomcat. I'm new to
the web servers and their configuration. I heard that Sun ONE /Apache
Christopher Schultz wrote:
Rainer Jung wrote:
2. Is is okay to have connection_pool_size=1 for my workers? The docs
suggest to me that it /must be/ set to 1 if I'm using prefork MPM.
OK, I see, that our wording is still not clear. What we try to tell the
users:
I think I get it.
Map a filter to your JSF servlet (faces/*). In that filter check that
user principal is not null. If it's not null, do your initialization
stuff if not yet done. When it's done, store that state information in
session. Here that's how we check and upgrade user profile informations
upon login.
Hi Jagadeesh,
first: integration here means, that you are fronting Tomcat with an
additional web server. YXou don't need to do this, because Tomcat also
is a web server. But there are common reasons to do it, like security,
separation of static content, and application routing (few web
Hello,
I searched your FAQ and the web for informations about my problem but I don´t
found any.
We want to switch our production from Tomcat 5.028 to Tomcat 6.0.14. Therefor
we need among other things the admin-webapplication.
On your website I only find a admin-webapplication for Tomcat 5.5.
Hello,
http://www.nabble.com/Tomcat-6-Admin-Application-tf4475389.html
Fuchs, Jens a écrit :
Hello,
I searched your FAQ and the web for informations about my problem but I don´t
found any.
We want to switch our production from Tomcat 5.028 to Tomcat 6.0.14. Therefor
we need among other
Hi Christian,
thanks for your feedback. Good to know the reason and that the theory
works, at least if SSL is explicitely activated in the vhost.
mod_jk gets the ssl info froom an apache httpd internal environment
variable. It looks like this wasn't set by your configuration. In case
one
Hi David;
Ok , It works well with the second solution, I put the globus library in
the common/lib directory of Tomcat .
Thanks a lot
Nicolas
David Delbecq a écrit:
Hello Nicolas,
java.net.URL is trying to instanciate a handler for protocol httpg and
fails. Looking at your code, i suppose
On 9/19/07, David Delbecq [EMAIL PROTECTED] wrote:
Just use WeakReference :)
Er, well that's OK, the WeakReference referant object (the session)
is null after gc
but now I have a WeakReference object lurking in my Map as opposed to
the HttpSession object previously so I'm not really gaining
Hello,
I have the following configuration :
- A Tomcat 6.0.13 serving any file running on port 8080
- A IIS 6.0 frontend server, on port 80/443 (for SSL) which use the
Jp connector 1.2.25 as a gateway to Tomcat, on Windows Server 2003
The connector serves all that is in /myProject
From: Mikolaj Rydzewski [mailto:[EMAIL PROTECTED]
Subject: Re: Question about JNDI + Connection Pool + Mysql (Tomcat 6)
Context path=/libreria docBase=libreria debug=5
privileged=true reloadable=true
You should not use path attribute in META-INF/context.xml.
Nor docBase, for that
Hi,
I am trying to develop a simple distributed file system using WebDAV servlet on
Tomact application server. while I can successfully browse the WebDAV enabled
directory via IE or FireFox, issuing net use p: http://lp:port/Dav; results in
The network name can not be found error message so
to make sure its not tomcat timing out
what is disableUploadTimeout in your connector set to?
M--
- Original Message -
From: Baldurien [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, September 19, 2007 9:16 AM
Subject: Download problem with IE6, IIS 6.0, SSL, Tomcat
If you are refering to the Connector / in the server.xml file, it is
set up to the default (false). Below is the part of the configuration
that define it :
!-- A Connector represents an endpoint by which requests are received
and responses are returned. Documentation at :
Gary,
I'm not sure how much time was spent discussing alternatives as apposed
to the question of if getting access to all sessions would work.
You originally talked about tracking for concurrent license checking...
We currently do this type of thing - and more, like abstracting the
session
From: shahab [mailto:[EMAIL PROTECTED]
I am trying to develop a simple distributed file system using
WebDAV servlet on Tomact application server. while I can
successfully browse the WebDAV enabled directory via IE or
FireFox, issuing net use p: http://lp:port/Dav; results in
The
Date sent: Wed, 19 Sep 2007 00:26:04 -0400
From: Fredy Provoste [EMAIL PROTECTED]
Subject:Question about JNDI + Connection Pool + Mysql (Tomcat 6)
To: Tomcat User List users@tomcat.apache.org
Send reply to: Tomcat Users List users@tomcat.apache.org
Hi again, i've been
Hi there,
I'm trying to get in touch with anyone that has had success in getting
the comet chat example working on tomcat 6.0.14.
Saman
Notice - The information in this e-mail is confidential and may be legally
privileged. It is intended solely for the recipient(s) named above. If you
Here is more information :
- I tried with firefox using IIS, and it fails too.
- I've done the following test : I made 10 files of different size (512
bytes, 1024, 2048, ...) then I uploaded them :
On IIS (tested with Fx, and IE):
1. When the file is less or equals 16KiB, upload works.
2.
I need to figure out a way to 'gate' access in a broad sense to the overall
website on a test server. The site is all JSP, using Apache and Tomcat, but
.htaccess doesn't work, as it appears that Apache hands off to Tomcat prior
to doing the .htaccess check.
Does anyone have a solution to this?
http://www.apache-ssl.org/
M--
- Original Message -
From: Kim Albee [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent: Wednesday, September 19, 2007 2:22 PM
Subject: HELP -- need to get Basic Authentication working (.htaccess) with
Apache/Tomcat 5 to prevent access
M -
I'm confused. we don't need SSL at all here... ??? clarification?
thanks,
Kim :-)
On 9/19/00, Martin Gainty [EMAIL PROTECTED] wrote:
http://www.apache-ssl.org/
M--
- Original Message -
From: Kim Albee [EMAIL PROTECTED]
To: Tomcat Users List users@tomcat.apache.org
Sent:
all of a sudden i can't access the server ' when i start it from within
eclipse it doesn't report anything but can't acess from IE neither from
inside eclipse as run at server /
tomcat 5.5 eclipse 3.3 it worked great for half a year and now ...
when i shutted the server now i got this message
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Kim,
Kim Albee wrote:
I'm confused. we don't need SSL at all here... ??? clarification?
Confusion is par for the course with responses from Martin.
Since mod_jk (I assume you're using mod_jk) maps URIs to Tomcat, your
mapping will occur before
--- Hassan Schroeder [EMAIL PROTECTED]
wrote:
On 9/15/07, Dola Woolfe [EMAIL PROTECTED] wrote:
I have built a website with Tomcat, but all the
pages
are essentially static, as there are no forms,
etc. I
used JSP because I have libraries that produce
HTML.
Now I want to move the
Is there a way to enforce that a given username can only have one valid
session at a time?
--
Dale Nesbitt
-
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
On 9/19/07, Dola Woolfe [EMAIL PROTECTED] wrote:
How do I configure Tomcat to process .html files as .jsp?
Add this to the web.xml of the relevant Context:
servlet-mapping
servlet-namejsp/servlet-name
url-pattern*.html/url-pattern
/servlet-mapping
Hi, all,
My apologies if this isn't the right mailing list to report this, but It's
been about 10 days since tomcat 5.5.25 is released, yet the apache tomcat
home page still shows the latest tomcat as 5.5.23
(http://tomcat.apache.org/index.html)
Anybody going to update that page?
Regards,
Hi!
How can I change the default application from the tomcat
ROOT/index.jsp page to an application installed in
$CATALINA_HOME/Catalina/localhost/app.xml?
I found the default application in web.xml and changed it from
servlet-mapping
servlet-namedefault/servlet-name
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Dale,
Dale Nesbitt wrote:
Is there a way to enforce that a given username can only have one valid
session at a time?
Yes, but I'd imagine the question you're really asking is is there an
/easy/ way to enforce... or, perhaps a standard way. The
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Thomas Schweikle
Subject: changing the default application
How can I change the default application from the tomcat
ROOT/index.jsp page to an application installed in
$CATALINA_HOME/Catalina/localhost/app.xml?
Name your application ROOT -
Confusing Chris-
what happens when there is no .htaccess to place your RewriteRules?
M--
- Original Message -
From: Bill Barker [EMAIL PROTECTED]
To: users@tomcat.apache.org
Sent: Wednesday, September 19, 2007 9:28 PM
Subject: Re: HELP -- need to get Basic Authentication working
I appreciate your response Chuck. I'm using ant to build and execute my
system. I wasn't able to figure out how to set the java.security.manager and
java.security.policy args in my ant target. I assumed that it was ant's
jvmarg but that option didn't work. I finally realized that the ant
44 matches
Mail list logo