Hi!
Is it really necessary to hold all active session objects in a global
variable? I can't imagine a situation that would require this!
Tex
Jagadeesha T wrote:
Thanks for responding.
To manage session between an apllication and web servers. Is there any way to
get that worked in clustered
I think Java uses the Locale from your operating system.
So to switch to english, you should either:
+ switch the locale of your operating system
+ tell Java to use another locale via system.properties at tomcat
startup (jvm-property):
-Duser.language=language-code -Duser.country=country-code
I think the main time is spent on opening the database connection!
So you better use connection pooling - then this expensive operation is
just execute once (or at least not so often)
Have a look at the Tomcat documentation (Section on JNDI-DataSources)
Tex
Charles P. Killmer wrote:
I am trying
I do not think, jsp compilation is the problem - well, the first request
will last long, but after the jsp is compiled, subsequent calls will not
be remarkable slower than executing pure compiled servlet code.
(Charles, I hope you did not measure the time for the first request only
- which
but in javadoc for jvm-1.4.2 I found
only the follow system properties:
user.name User's account name
user.home User's home directory
user.dirUser's current working directory
Zsolt
-Original Message-
From: Mario Winterer [mailto:[EMAIL PROTECTED]
Sent: Monday, February 07, 2005 6:30
JMX is now part of J2SE 5.0.
Best regards,
Tex
Phillip Qin wrote:
I am trying to build tomcat 5.5 manager app. Where can I find jmx.jar? It
used to be in ${catalina.home}/bin.
Regards,
PQ
Going to war for peace is like having sex for virginity
Hi!
If you are already familiar with programming JSPs and you just want to
know what you must do to set up a web-application that can handle JSPs -
you're glad, because that is almost done.
Have a look at the tomcat-docu at
http://localhost/tomcat-docs/appdev/index.html
In short:
1) create a
Sorry, I've forgotten the first and basic step:
0) Install tomcat! ;-)
Tex
Mario Winterer schrieb:
Hi!
If you are already familiar with programming JSPs and you just want to
know what you must do to set up a web-application that can handle JSPs
- you're glad, because that is almost done.
Have
Hi!
What does Now, this seems to not work... mean???
Please go more into detai! We cannot tell you how to fix it if you do
not tell us WHAT is going wrong! (e.g.: Tomcat can't start; Tomcat
starts but web-app. can't start; Tomcat starts, webapp starts but you
get exceptions each time you
Hi again!
I've noticed one thing in your configuration - but I do not know if this
is the reason for your problem:
Remove the resource-env-ref-xxx entries from web.xml. You do not need
a JNDI-reference to your user database here! (Apart from that this is
wrong - it should be a
file ending in .xml to be located at
$CATALINA_HOME/conf/[enginename]/[hostname]/
directory. See this link:
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/context.html
aka_sergio
--- Mario Winterer [EMAIL PROTECTED] wrote:
Hi!
If you are already familiar with programming JSPs
and you just
can use the authentication
procedure with the names I have stored in my xml database... this is
what I mean saying that it's not works
hope this should be more helpfully
On Sun, 06 Feb 2005 18:43:45 +0100, Mario Winterer
[EMAIL PROTECTED] wrote:
Hi!
What does Now, this seems to not work... mean
,
It is not wrong to have that resource-env-ref
within his web.xml. Look at the
manager/WEB_INF/web.xml for a working application
(manager) and you will see exact elements.
aka_sergio
--- Mario Winterer [EMAIL PROTECTED] wrote:
Hi again!
I've noticed one thing in your configuration - but I
do
Hi!
I'm happy you could solve your problem now! Seems the reason was the
missing Realm-definition in your context.xml.
To Question 1)
Tomcat offers a separate JNDI-namespace for each web application (so if
you have 4 web applications you will have 4 namespaces). These
namespaces are configured
Hi Doug!
I think eilnet.xml IS the context.xml file you mentioned!
To Manoj: As Dough said, try the following:
1) Remove eilnet.xml from .../conf/{engine}/manoj.eilnet.effectsoft.local
2) Rename eilnet.xml to context.xml
3) Put it into your war-file (into the manifest directory)
Make sure
-Original Message-
From: Mario Winterer [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 03, 2005 4:37 PM
To: Tomcat Users List
Subject: Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX:
BasicDataSourceFactory
Hi David!
I think, you do not need to explicitely define a bean
-directory (or any other directory that you specified in server.xml).
Best regards,
Tex
Carlos Gabriel Arce wrote:
But when I deploy a local .war in the administration page
www.domain1.com/manager/html
this war gets replicated in other virtualhosts.
Mario Winterer escribió:
Of course!
That's Tomcat's
Hi!
Just because I'm interested:
If I had more than one certificate in my keystore, which certificate
would be used by tomcat for https? Is there a way to specify which
certificate to use?
Thanks,
Tex
-
To unsubscribe, e-mail:
Hi Jeroen!
Two weeks ago I (almost) exactly did what you want to do - make
hibernate use a JNDI-DataSource defined as a GlobalNamingResource! The
differences: My database is Oracle and I didn't configure hibernate
directly because I use the spring-framework in between.
I experienced problems
Thanks for your and Nix' advice - I know that what I do is not the clean
and nice approach. If I were you, I'd challenge my solution too!
But: In fact - we do have local CVS sandboxes on the development PCs -
and we do have a separate development webserver for testing. And we do
use this system
Hi Ben!
You cannot hook in the login validation process without touching tomcat
code.
But usually, this is not necessary. Just write a filter and map it to
/ - every request will be directed to your filter - except requests to
j_security_check. But this should not bother you, because your
CVS URLs and have
them map to a servlet that responds with an error or redirect.
--David
Mario Winterer wrote:
Thanks for your and Nix' advice - I know that what I do is not the
clean and nice approach. If I were you, I'd challenge my solution too!
But: In fact - we do have local CVS sandboxes
For more information on tomcat's classloading concept have a look at:
http://jakarta.apache.org/tomcat/tomcat-5.5-doc/class-loader-howto.html
As you can see there, Tomcat instantiates a classloader for each web
application. So if you put a class - let's say Global - inside the
WEB-INF/classes
Of course!
That's Tomcat's default behaviour - and in fact, it is difficult to make
it behave different!
Have a look at server.xml of your tomcat's default installation (you
need a host-element for each virtual host). More information can be
found at
password=password/
/Context
Mario Winterer [EMAIL PROTECTED]
02/02/2005 07:19 PM
Please respond to
Tomcat Users List tomcat-user@jakarta.apache.org
To
Tomcat Users List tomcat-user@jakarta.apache.org
cc
Subject
Re: Tomcat 5.5.4/Windows 2000 server - Failed to register in JMX
Hi Denny!
Which Realm do you use in server.xml? What are your web.xml-settings?
Please post your configurations!!!
Tex
Hello,
Thanks for your reply. When I use IE to bring up the
page I get a dialogbox asking for user name and
password. If I put in a user name and password of a
user on the
Hi,
it is not possible to make Tomcat automatically compile and deploy your
servlets.
Usually this is not necessary. If you use a good IDE, it is no great
effort to compile your servlets. Deployment could be done by using an
Ant script - just copy the servlet-binaries in the correct directory
Hi!
Do you want to share some kind of global variables or session
information? Global variables should exist only once while session
information is stored for each user (to be more correct: for each
user-session).
I think you want to share session-information, but using a
class-variable from
Hi!
I'm not sure, but I think your code is OK. The question is: How did you
configure your security realm in web.xml and server.xml.
(request.isUserInRole only works, if the user has already been
authenticated against the web server.)
Best regards,
Tex
Hello,
I am trying to use isUserInRole
Hi!
the parameter maxIdle is the maximum number of idle connections that
can retain in the pool. That means it is ok for the pool to have 50
connections waiting for usage - you told him to do so! So what different
behaviour did you expect?
Best regards,
Tex
Hey, wondering if someone could
In Tomcat 5.x, you can define the default settings for application
contexts in %TOMCAT_HOME%/conf/context.xml.
(I'm not sure if Tomcat versions prior to 5.x support this.)
Best regards,
Tex
Tomcat Users -
We are distributing a servlet application that relies on the application's
Context
Hi!
How did you define your JDBC DataSource?
As far as I know, the original jakarta-commons-dbcp and
jakarta-commons-pool-libraries are not included with Tomcat. Instead,
just a subset of the required classes with modified package names
(starting with 'org.apache.tomcat.dbcp') are packed in
Hi!
I'm running a web application that is under CVS, which means my web
application contains a lot of CVS-related directories (for the
CVS-metadata).
Is there a possibility to tell Tomcat to hide or protect all those CVS
directories? More general, what I need is a way to hide/protect all
files
33 matches
Mail list logo