Hi
I want to track a session of an input a user enter in my jsp page.The jsp
page is using a bean to execute sql queries.That works wel.
My question is it advisable to track the session in the jsp page or in the
Bean.Which is better
Thanks in advance
Hi
i have some doubt in tomcat deployment, can some one clear that
I have one web appliation that i deployed in the tomcat and running fine. it
uses login, and all the valid users will login and use the site. it contains 10
servlets each will do one kind of job based on the user request.
No my
### Pete Alvin [EMAIL PROTECTED] wrote message to Tomcat Users List
users@tomcat.apache.org ###
### this is reply for: RE: Tomcat integegrated with Apache ###
I'm using Tomcat 5.5. I want to keep it simple. It always seems to
take me 2 days of anguish to get Apache/Tomcat working together.
I am not sure if anyone has replied to you on this..
At least from what I understand, the error below means is that the
certificate file server.pem is not found as specified in the server.xml
(configuration file) entry.
You will find the server.xml file in the conf folder (under
Thanks
I know all about java session.What I mean is implementing session in jsp or
in bean which one is advisable
Fredrik Rubensson [EMAIL PROTECTED] wrote:
Marju wrote:
I want to track a session of an input a user enter in my jsp page.The
jsp page
is using a bean to execute sql
Dear all,
I just need to implement a telnet thru web. ie, I am using
servelts, I can connect to a remote host and i am able to execute some
commands and i can get the results. But my problem is that, i have to
maintain the telnet session between the cleint and the servlet and has
to
Thanks so much for replying.
My URL's are mapped, below is an example.
I had this working on my old PC for the past 2 years with no problems then I
got a new pc and installed the latest tomcat, set the environment vars and
copied everything over to the relevant folders but things are going
howmany concurrent users does tomcat support? if i want to design a
web application for 30,000 concurrent users in pick hours
what is the step?
Which type of server it needs
How to configure the tomcat server for the same?
How many maximum concurrent hit tomcat can serve per second?
Thanks in
From: vishwas kharajge [mailto:[EMAIL PROTECTED]
howmany concurrent users does tomcat support?
Depends very largely on your webapp. How efficient is it? How many
operations per minute is each user making? Does it require session
state, or can you get away without it? Can it be clustered?
Security is not a key issue for us, over and beyond observing good
general site security principles. Given that there is far from a
consensus opinion on this question, I am going to stick with Apache
2.0.46 / Tomcat 5.5.7 as an integrated solution, but do some testing on
Tomcat standalone as well
No, that is not a Tomcat problem... it's a specific application problem... I
saw some people complaining about the same things in applications similar to
mine.
The big whole problem with my application is the framework usage: Hibernate and
Struts...
My guess is that hibernate is not finalizing
Some filesystems in linux/unix does not save date stuff, to speed up access...
I am not sure about what tomcat does, but I think he sends the date of the
cached resource...
- Segue mensagem original! -
De: hanasaki [EMAIL PROTECTED]
Data: Wed, 11 Jan 2006 21:44:27 -0600
Hi,
I am using this setting in my 'web.xml' to stop all files with extesion
'abc' from getting cached. The problem is that it works fine with IE, but in
Firefox I can still see my files getting cached. How can I stop my files
from getting cached in Firefox? Is there any other way to stop caching.
The connector is integrated into Apache Httpd 2.2 which was just
released as stable in December. Versions prior still require you
download and build mod_jk.so separately. Personally, I think you should
avoid putting Apache in front unless you have other technologies to
support (ie PHP or
Can you give any specifics as to why you think running Tomcat in front
of Apache is bad?
We were considering doing that for load balancing but now we are
thinking about using a hardware appliance instead.
Gary
-Original Message-
From: David Smith [mailto:[EMAIL PROTECTED]
Sent:
I can give a reason. Its called Connector de-jour. The preferred
connector, changes every 6 months and they're bloody impossible to configure
and keep straight. Building a connector is impossible unless you are a
REALLY highly skill UNIX sysadmin.
My advice is this:
Set up your machine running
From: Gary Blomquist [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat integegrated with Apache
Can you give any specifics as to why you think running Tomcat in front
of Apache is bad?
1) Extra overhead.
2) Additional complexity.
3) Added points of failure.
Certainly if you have a need for
Thanks.
As I mentioned we are considering buying a hardware load balancer. I
just wondered what problems I might encounter if we did choose to load
balance with Apache. Our volume is relatively low. We want the load
balancer so we can have hitless upgrades.
Our app. uses frames. Could that
From: Peter Crowther [mailto:[EMAIL PROTECTED]
Subject: RE: how to suppor 3 concurrent users
That said,
http://www.theserverside.com/news/thread.tss?thread_id=38377
may be relevant - no doubt others will come up with better links!
There's also the other Peter's excellent paper on
Does Tomcat now have caching of LDAP authentication (i.e. for basic
authentication)?
Does Tomcat allow a single web app (and URL therein) to be authenticated
against multiple LDAPs (i.e. where part of the user community is defined
by each)?
Is there a SiteMinder plug-in for Tomcat?
These
George Sexton [EMAIL PROTECTED] wrote: I can give a reason. Its called
Connector de-jour. The preferred
connector, changes every 6 months and they're bloody impossible to configure
and keep straight. Building a connector is impossible unless you are a
REALLY highly skill UNIX sysadmin.
I
From: babji [mailto:[EMAIL PROTECTED]
Subject: info required about no of connections..
No my question is how many user can login and open session in
tomcat at a given point of time.
No limit, other than the max number of threads configured for the
connector. See:
hi guys
I am trying to get tomcat 5.0 to use the security manager and
catalina.policy when running as a windows service. This works fine when
I run it from startup.bat using the normal set CMD_LINE_ARGS=
-security method. However I cant find any documentation - either on the
tomcat site or on
Stracchino, Peri wrote:
* If I try adding the line -Djava.security.manager
-Djava.security.policy=C:\Program Files\Apache Software
Foundation\Tomcat 5.0\conf\catalina.policy
Add two lines
-Djava.security.manager
and
-Djava.security.policy=C:\Program Files\Apache Software
Hi Chuck,
Thanks for your reply.
Can you please help me with the following question I posted earlier.
Hi,
I recently downloaded and installed Tomcat 5.5.12. I read the
documentation on class loading. However, my webapp does not work on Tomcat
5.5.12
when I put
So, how to create self signed cert to import?
Iósev Pérez Rivero
Estudiante 4to. Año
Universidad de las Ciencias Informáticas
-Original Message-
From: Ken Johanson [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 12:47 AM
To: Tomcat Users List
Subject: Re: problem with keytool
Thanks Mladen
That did the trick. I notice that not having any spaces at the start of
the line is also crucial to making this work
cheers
Peri
**
Experience the British Library online at www.bl.uk
Help the British
### George Sexton [EMAIL PROTECTED] wrote message to 'Tomcat Users
List' users@tomcat.apache.org ###
### this is reply for: RE: Tomcat integegrated with Apache ###
If I can avoid using Apache, then I run tomcat on a non-privileged port and
use IPTables to re-direct from port 80 to the
From: Rafal Zawadzki [mailto:[EMAIL PROTECTED]
Why not use squid?
One view: Why go through another user-level process when you can simply
redirect the socket connections via iptables for fewer CPU cycles and
less RAM?
Another view: squid may be faster at serving static content, so
interposing
### Peter Crowther [EMAIL PROTECTED] wrote message to Tomcat
Users List users@tomcat.apache.org ###
### this is reply for: RE: Tomcat integegrated with Apache ###
From: Rafal Zawadzki [mailto:[EMAIL PROTECTED]
Why not use squid?
One view: Why go through another user-level process when you
Because I don't have a lot of static content.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Rafal Zawadzki [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 9:02 AM
To: Tomcat Users List
Subject: Re: Tomcat
Ok for list archive
http://wiki.apache.org/tomcat/HowTo#head-e82228c43a0ce77f71ebe64fc99ced33c9506ffe
Marco Rossi [EMAIL PROTECTED] wrote: Hi all,
I'm trying to deploy a single web app to serve a whole web site on port 80. I'm
able (finally:-) to use jsv to redirect port 80 to 8080, but I'm
The simplist way is to rename your app to ROOT. If read about creating a
ROOT.xml in conf/Catalina/localhost and pointing the docbase to your webapp
by I didn't have much luck with it.
- Original Message -
From: Marco Rossi [EMAIL PROTECTED]
To: Tomcat Users List
On 1/12/06, Michel Costa [EMAIL PROTECTED] wrote:
No, that is not a Tomcat problem... it's a specific application problem... I
saw some people complaining about the same things in applications similar to
mine.
By No, that is not a Tomcat problem..., I believe you're saying that
there's no
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Re: tomcat and javac (UNCLASSIFIED)
However, my webapp does not work on Tomcat 5.5.12
when I put my servlet classes in common\classes.
You shouldn't do that. Read the servlet spec, and put the servlet
classes where they belong:
On Wednesday, 11 בJanuary 2006 18:38, Sriram Narayanan wrote:
I wrote something that works for me:
http://issues.apache.org/bugzilla/show_bug.cgi?id=38223
Thanks. I didn't use your implementation for the reason noted in the
comment I attached to the issue, but you pointed me in the right
On 1/12/06, Justin Jaynes [EMAIL PROTECTED] wrote:
I've written a java class to scale jpeg images. But I can't seem to get it
to work. Can anyone point me in the right direction?
javax.servlet.ServletException: Can't connect to X11 window server using
':0.0' as the value of the DISPLAY
You need to have:
-Djava.awt.headless=true
in your java start up args, this will prevent it from trying to talk to an X
server. Obviously some image related stuff has to talk to an X server, but
just ImageIO stuff is fine.
Mark
On Thursday 12 January 2006 19:31, Frank W. Zammetti wrote:
I
The environment variable is below:
JAVA_OPTS=-Djava.awt.headless=true
Cheers,
-gabe
Gabriel Lawrence
ACT Data Security Manager, UC San Diego
-Original Message-
From: Justin Jaynes [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 12, 2006 11:39 AM
The major problem is not about putting hibernate in the context's lib folder,
but as you may know, hibernate does some mapping stuff, which means it reads a
bunch of .hbm.xml files into memory, connects and validate these mappings
everytime the context gets reloaded, and depending on how much
D'oh! Now *THAT* rings a bell :)
Mark Hagger wrote:
You need to have:
-Djava.awt.headless=true
in your java start up args, this will prevent it from trying to talk to an X
server. Obviously some image related stuff has to talk to an X server, but
just ImageIO stuff is fine.
Mark
On
FAQ .. http://tomcat.apache.org/faq/unix.html#x
-Tim
Justin Jaynes wrote:
Hello all,
I've written a java class to scale jpeg images. But I can't seem to get it to work. Can anyone point me in the right direction?
-
To
i believe adding this to your CATALINA_OPTS variable will solve this
issue
-Djava.awt.headless=true
On 12-Jan-06, at 2:26 PM, Justin Jaynes wrote:
Hello all,
I've written a java class to scale jpeg images. But I can't seem to
get it to work. Can anyone point me in the right direction?
Obtain configure the SSL protocol with tomcat, BUT when I use this url:
https://localhost:8443 https://localhost:8443/ in the browser, this is delay
so much and the end no load the tomcat home page.
What I can do?
Iósev Pérez Rivero
Estudiante 4to. Año
Universidad de las Ciencias
http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html
--- Iosev Perez Rivero [EMAIL PROTECTED] wrote:
I use the tomcat�s documentation about that but I have an error, I need
that someone explain
to
me how to that
I�sev P�rez Rivero
Estudiante 4to. A�o
Universidad
Hello,
I am consistently getting exceptions about my connection pool being
exhausted in my application. I am curious where I can configure the number
of connections tomcat should maintain in the connection pool. Lastly, am I
right in assuming that the only thing I need to do in order to
Hello all,
I am working on a web application that will manage
assignments/students/classes for the teachers at a school. Most of my pages
in the application need to access our mysql database very frequently. For
this and for other security reason, I would like to use preparedStatements.
Hi we are running tomcat5.0 on sun V20z server
Backed is mysql
Our requirement is to provide 200 concurrent hits per second
There are 300K users registration on the server
For this what is the requirement?
How much bandwidht it require for giving above concurrency?
How to configure the server?
Is there a list of Tomcat 5.5 system requirements for a windows based install?
David Schwartz
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Does anyone know why I am getting this error :
javax.servlet.ServletException: Servlet execution threw an exception
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:275)
at
Generally speaking, if you were using most SQL databases the approach would
be to use a stored procedure. The stored procedure compilation saves the
various query plans as part of the data of the stored procedure. I doubt
MySQL does it, but you could ask on their development list.
George Sexton
On 1/10/06, Oded Arbel [EMAIL PROTECTED] wrote:
What you could do is to write your own WebAppClassLoader that'd add
these folders to its lookup list.
Hmm. interesting. How can I let such a class loader implementation to be
used instead of tomcat's WebAppClassLoader ?
The following
Hi,
I hope you have read my post a while ago (in which I explained about
configuring SSL with APR in
Tomcat 5.5.12). If you haven't,
http://www.mail-archive.com/users%40tomcat.apache.org/msg02500.html
If you read that post fully, you will understand basics of SSL with Tomcat.
If you want
On Mon, Jan 09, 2006 at 08:16:00PM +0200, Oded Arbel wrote:
The problem is like this (the actual system is far more complex):
- suppose two web applications, app1 and app2, both use some API (which
I developed myself).
- I don't want to develop the API twice on both web applications, so I
[EMAIL PROTECTED],
I use tomcat-5.0.30 on a suse10-system. When I start tomcat I get an long
error-output in catalina.out. Can anybody help me to fix this?
Sorry for this long error-posting!
Jan 13, 2006 12:18:54 AM org.apache.catalina.core.StandardHostDeployer install
INFO: Installing web
Hi All,
My config ..
tomcat 5.5
jdk1.5._06
apr 1.2.2
tomcat-jni 1.1.0
server.xml
Connector port=80 maxHttpHeaderSize=8192
maxThreads=150 minSpareThreads=25 maxSpareThreads=75
enableLookups=false redirectPort=8443 acceptCount=100
compression=on
If you're already using pooling then I imagine you
already have a resource defined for the pool in either
server.xml or in the context xml file. To pool
prepared statements, which is desireable, you should
configure it to look something like this in Tomcat
5.5:
Resource
Hi all,
I need direction to an information repository that will explain what
I need to do to get java-1.5.0 and tomcat5 installed and running and
then allow installation of MIRC software, that requires tomcat5 on
jvm-1.5.0 for the newer version.
I have spent nearly two weeks of off ours
Ken Johanson [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hello,
Does anyone have a suggested way to selectively, inside a simple JSP or
Servlet, cause the built-in Tomcat form-login to be presented?
Currently, I'm doing the following:
-Have protected URI inside my webapp,
Wendy Smoak [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On 1/12/06, Sven Gehr [EMAIL PROTECTED] wrote:
I use tomcat-5.0.30 on a suse10-system. When I start tomcat I get an long
error-output in catalina.out. Can anybody help me to fix this?
...
Jan 13, 2006 12:19:30 AM
I have installed tomcat5, with java 1.5.0.0.
Now trying to start tomcat5 I get this in the output followed by an [OK]
/usr/bin/rebuild-jar-repository error all detected jars were not
found for this jvm.
I am not sure what to read at this point.
TNX
Bob
I'm having the exact same problems. I also reinstalled FC4, jdk 1.5.05
and tomcat 5...still same problem. I'm tired of this so I'm gonna try
NOT using the rpms. Good luck.
Bob
On Thu, 2006-01-12 at 21:22 -0600, Bob Hartung wrote:
I have installed tomcat5, with java 1.5.0.0.
Now trying to
I would try testing it. I did some informal testing with SQL server and
found that it was MUCH less useful than everyone thought.
George Sexton
MH Software, Inc.
http://www.mhsoftware.com/
Voice: 303 438 9585
-Original Message-
From: Khawaja Shams [mailto:[EMAIL PROTECTED]
Sent:
Ghislain,
I downloaded the sun tarball, the tomcat5 tarball and had both
installed in less than 5 minutes. Tomcat5 tested fine with $JAVA_HOME
defined in /etc/profile.
I was the able to install the MIRC storage service in an additional 5
minutes.
Now, I may have upgrade problems but
Bob,
I did the same and it worked perfectly right away. Now I'm having
problem with OpenReports and JasperReports but that's a different story.
Good luck to you.
Cheers,
Ghislain
On Thu, 2006-01-12 at 22:11 -0600, Bob Hartung wrote:
Ghislain,
I downloaded the sun tarball, the tomcat5
You need to set a java command option so that your code won't search for a
display. Apparently you are using this with a server that has no monitor?
I forget the option but look them up under the java command and it will be
obviously. It ends in less as I recall.
On 1/12/06, Justin Jaynes
hello,
i'd installed jdk-1_5_0_02-windows-i586-p-iftw and jakarta-tomcat-4.1.31 on
desktop.but unable to set its required path.i request u to kindly help me out
for the same and starting my Tomcat.
Regards,
Vidhi
-
Yahoo!
I am guessing the main attribute to change is the following:
poolPreparedStatements=true
Suppose that this is set to true, how do I access these pooled statement? My
setup is exactly as you described, so this modification seems minor, but I
would appreciate guidance on how to get a hold of
Newbie running Tomcat 5.0.28 on OSX.
Hi, I am starting tomcat by running a script that runs the
catalina.sh script. I have experienced that files that my jsp-app
produces end up at different places depending on how tomcat is
started. Possibly I could understand this if I knew a little
This may or may not be the case with you.
I had a similar error (X11, DISPLAY) with an earlier version of tomcat
included in a 3rd party package, on linux.
After I installed Xvfb (x virtual frame buffer) server rpm, the error went
away. (http://www.xfree86.org/4.0.1/Xvfb.1.html) I think there
Found the problem/solution. The error occurs because Tomcat uses java
5.0 while the servlet has been compiled with java 1.4. Compiling the
servlet with 5.0 resulted in a much nicer log!
Ole Chr Langfjran wrote:
My
servlet seems seemingly to work just fine, but running through the log
I've
Sorry, a correction to my post. I checked my server and found that Xvfb is
actually running on display 1.0. These are the processes.
Xvfb :1
bash -c export DISPLAY=:1.0; . /opt//tomcat.sh
I'll have to dig up for the details of tweaking, but googling of tomcat
xvfb
72 matches
Mail list logo