To to limit session in tomcat 4.1 ? I've found this in my server.xml
!--
Manager className=org.apache.catalina.session.PersistentManager
debug=0
saveOnRestart=true
maxActiveSessions=-1
minIdleSwap=-1
maxIdleSwap=-1
I'm developing a web application using apache+tomcat
on windows 2000 machine. I'm using Ms Access 2003 as
the backend. I'm using JSP for developing web
application. I'm developing some web based reports in
HTML. But when i export them to Excel, it doesn't look
exactly same as that of HTML report.
Hi,
I guess this question has come up a thousand times on this list, but i
still have no workaround for it so i need to get a tip or two from you guys.
We're using Tomcat 5.5.9 on Windows 2003 Server, and we cannot
hot-deploy webapps. The cause is one of our jar-files in WEB-INF being
locked,
--- U K Laxmi [EMAIL PROTECTED] wrote:
Date: Mon, 9 May 2005 23:57:41 -0700 (PDT)
From: U K Laxmi [EMAIL PROTECTED]
Subject: Free reporting s/w that works with
apache+tomcat
To: Tomcat Users List
tomcat-user@jakarta.apache.org
I'm developing a web application using apache+tomcat
on
Well, that didn't work.
The screenshot is at:
http://ebba.geosition.com/~joakima/temp/screenshot_procexp.jpg
//j
Joakim Ahlén wrote:
Hi,
I guess this question has come up a thousand times on this list, but i
still have no workaround for it so i need to get a tip or two from you
guys.
We're
May be DisplayTag and its export functionality can help you with
formating.
http://displaytag.sourceforge.net/
regards,
Marco
http://www.druckerpatronen--preisvergleich.de
http://www.tuxoo.org
-
To unsubscribe,
Hi all,
some news about Reference Scanner, frequently used to find memory leaks in
tomcat and webapplications:
-1-
Profiling of tomcat and webapplications has been simplified yet:
In earlier versions of Reference Scanner it was required to patch thesource
code (Bootstrap.java), this is not
Hi Lutz
As far as HTML forms are concerned, you can force the browser to submit
them to the server using a particular charset by adding the
accept-charset attribute to the form tag, i.e.:
form accept-charset=utf-8 ...
...
/form
Lutz Zetzsche wrote:
Hi Harry,
Am Montag, 9. Mai 2005 20:53 schrieb Harry Mantheakis:
Browsers should (and mostly do, I think) respect the encoding you
specify when setting the response content-type (and the meta-tag
content-type) so you can simply assume (in your filter) that your
form-data
A method we have used with success for inbound request encoding is to add a
Servlet Filter to our application whose sole job is to call
request.setCharacterEncoding(UTF-8)
Allistair.
-Original Message-
From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
Sent: 10 May 2005 08:54
To:
Hi all,
I have the following settings.
WinXP Prof CHINESE SIMPLIFIED w/ SPK2
Tomcat 5.0.28
JDK 1.5..0.3
I have a folder, whose name contains CHINESE characters (eg. ?
new folder), under the [CATALINA_HOME]\webapps\jsp-example.
When I browse to it in IE with URL
Is it possible to write a servlet that can restart Tomcat 5.5?
I am loading native library code and this has to be in the shared/lib
area for the webapp to be restartable (if it's in the webapp/WEB-INF/lib
then restarting the webapp fails). However, I want to be able to install
a new version
This is not possible as even if it could be shut down then the servlet will no
longer exist to restart it. The only way would be for the servlet to notify
some external process that the tomcat needs to be restarted and the external
process will do the stopping and starting.
Ta
Matt
Jason Bainbridge jbainbridge at gmail.com writes:
Try specifying an absolute path for the keystoreFile, I'm not sure
what that is relative to and shouldn't that be .keystore anyway?
I've tried with an absolute path for the keystore, and with the default
($HOME/.keystore) location, it still
I had one question regarding connectors with Apache and Tomcat. I'm
just playing around with configurations on my XP Laptop to get a feel
for Apache. I have Apache 2.0.54 and Tomcat 5.5.9 installed and both
are running fine. However, I am stuck with connecting the two so that I
don't have to
On Mon, May 09, 2005 at 03:42:22PM -0700, Steve Jacobson wrote:
: We have been looking for a comprehensive System Administrator's Guide
: for Tomcat, that looks at Tomcat from the perspective of a System
: Administrator that needs to deploy tomcat and applications on tomcat.
So far, so
Take a look at DataVision. I think you'll like it. I wrote an article
a while back specifically dealing with using it in web applications.
Although the article uses servlets and you say your using JSPs (just
JSP's?) it should still be applicable.
http://www.omnytex.com/articles
Feel free to
Hi,
Can anyone tell why I am getting this exception.
SEVERE: Null component
Catalina:type=DataSource,path=/,host=localhost,class=java
x.sql.DataSource,name=jdbc/oracle
Thanks
Joy Kenneth
Hello
Have you tried to use the command undeploy of the manager ?
Like this
http://yourhost:yourportnumber/manager/undeploy?path=(context_path)
Take care : this command after stopping the application will delete the
directory where your application was deployed and remove the entry of the
Hi there,
Hope this question won't sound as dumb, for I am completely new to Tomcat;
and I haven't found
what I was searching for in the documentation though...
I got four different applications/websites in the Tomcat webapps directory,
let's just call them A,
B, C and D.
The applications A, B
http://jakarta.apache.org/tomcat/faq/security.html#restrict
-Tim
Altrock, Jens wrote:
Hi there,
Hope this question won't sound as dumb, for I am completely new to Tomcat;
and I haven't found
what I was searching for in the documentation though...
I got four different applications/websites in the
That's what I already read, but there's never said in which config files
to put that in, nor are there any examples... or didn't I see them too?
Jens
-Ursprüngliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Mai 2005 14:42
An: Tomcat Users List
I 've followed the instructions described in this link
http://jakarta.apache.org/tomcat/connectors-doc/howto/apache.html
and it works.
httpd.conf
..
LoadModule jk_module modules/mod_jk.so
JkWorkersFile D:/Tomcat5.5/conf/workers.properties
JkLogFile D:/Tomcat5.5/logs/mod_jk.log
JkLogLevel
Can be placed in either server.xml, the context declaration for the webapp
(or both)
Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=127.0.0.1/
-Tim
Altrock, Jens wrote:
That's what I already read, but there's never said in which config files
to put that in, nor are
Hi Jens,
Altrock, Jens schrieb:
That's what I already read, but there's never said in which config files
to put that in, nor are there any examples... or didn't I see them too?
What you are looking for is the RemoteAddrValve valve:
Maybe something like this will work.
http://www.hyperic.net
Its not just for Tomcat.
From: Guillaume Lahitette [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: RE: Off Topic: Tomcat monitoring tools
Date: Tue, 10 May 2005
also there is http://www.nagios.org, also not just for Tomcat.
From: Guillaume Lahitette [EMAIL PROTECTED]
Reply-To: Tomcat Users List tomcat-user@jakarta.apache.org
To: tomcat-user@jakarta.apache.org
Subject: Off Topic: Tomcat monitoring tools
Date: Mon, 09 May 2005 18:42:30 +0100
Hi,
I am
there's also this, which I haven't tried.
http://mc4j.sourceforge.net/
peter
On 5/10/05, Didier McGillis [EMAIL PROTECTED] wrote:
Maybe something like this will work.
http://www.hyperic.net
Its not just for Tomcat.
From: Guillaume Lahitette [EMAIL PROTECTED]
Reply-To: Tomcat Users
Thank you for the information. I read your report and
it looks interesting. I went to DataVision web site
and found that it can export comma separated files ie.
CSV file. Will it be possible to retain header and
footer information with a .CSV file? I basically want
excel files as the report
Ok, got that. But do I need to install the regular expressions library?
And how to say that I want a whole subnet to be added?
-Ursprüngliche Nachricht-
Von: Tim Funk [mailto:[EMAIL PROTECTED]
Gesendet: Dienstag, 10. Mai 2005 14:56
An: Tomcat Users List
Betreff: Re: AW: Restrict
Hi,
I'm having problems running Tomcat 5.0.28 using JDK 1.5.0.02.
I'm using 1.5 methods such as Node.getTextContent. This works fine
when run as a standalone app in JDK 1.5, however when run with Tomcat
under the same JDK, execution throws an exception saying
getTextContent was not found.
Hi Jens,
Altrock, Jens schrieb:
Ok, got that. But do I need to install the regular expressions library?
To my practical knowledge, the RemoteAddrValve will work out of the box.
You don't have to install additional libraries to get it work.
And how to say that I want a whole subnet to be
On Mon, 9 May 2005, Steve Jacobson wrote:
All,
We have been looking for a comprehensive System Administrator's Guide
for Tomcat, that looks at Tomcat from the perspective of a System
Administrator that needs to deploy tomcat and applications on tomcat.
Most of what we have googled
Hm... won't work :(
I added to noe of the apps in webapps/name_of_app/WEB-INF/web.xml the
following:
Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=192.100.46.*/
right after the web-app tag in the xml file.
But people can access that application from the internet anyway...
Nopt in web.xml but in server.xml in your context/context
-Original Message-
From: Altrock, Jens [mailto:[EMAIL PROTECTED]
Sent: 10 May 2005 15:13
To: 'Tomcat Users List'
Subject: AW: Restrict access to webapps for IPs
Hm... won't work :(
I added to noe of the apps in
Hi,
CSV files don't generally contain header and footer information... you
can get column headers in the first row, that's about it. I don't
believe DataVision will export to Excel natively, but check the docs in
case I'm wrong.
Do you really mean header and footer in the sense of a Word
Hi Jens,
Altrock, Jens schrieb:
Hm... won't work :(
I added to noe of the apps in webapps/name_of_app/WEB-INF/web.xml the
following:
Valve className=org.apache.catalina.valves.RemoteAddrValve
allow=192.100.46.*/
right after the web-app tag in the xml file.
But people can access that
Hi,
Raghupathy,Gurumoorthy schrieb:
Nopt in web.xml but in server.xml in your context/context
As regards the server.xml, this depends on the Tomcat version, you are
using. The documentation emphasizes:
Please note that for tomcat 5, unlike tomcat 4.x, it is NOT recommended
to place Context
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Subject: Connecting Tomcat5.5.9 + Apache2.0.54
However, I am stuck with connecting the two so that I don't
have to type in localhost:8080 in my browser
Well, the easiest way is to remove Apache httpd and configure Tomcat to
use ports 80
Thank you for the information.
What i mean by header footer is, column headers and
some information like model number, date and approval
signature columns etc.. to appear in every page when
they take hard copy of the report. Is such a thing
possible? Pls inform.
The end user of the application
On 5/6/05, Gastón Simone [EMAIL PROTECTED] wrote:
Hi!
Does anybody know how to solve this problem?
Please excuse me if the cuestion is too stupid. I am really newbie. :)
root cause
java.lang.NoClassDefFoundError
at
Hi All
Nothing seems to work out for me whith client auth. Here is what 've done
CA and Certificates
1) perl CA.pl -newca
2) perl CA.pl -newreq
3) perl CA.pl -sign
4) openssl rsa newreq.pem server_key.pem
5) mv newcert.pem server_cert.pem
6) mv newreq.pem server_req.pem
7) perl CA.pl -newreq
you should consider using POI, if you need Excel-only features like footer
repeated on every page.
Specifically:
http://jakarta.apache.org/poi/hssf/quick-guide.html#HeaderFooter
-Original Message-
From: U K Laxmi [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 9:53 AM
To:
Hi,
I'm trying to change hostname on the tomcat server from localhost to my
server name. After I change it in server.xml, I'm able to go to
http://servername:8080 url, but I'm not able to go to
http://servername:8080/admin . It gives me error.
Aprreciate any help regarding this.
Sorry I'm late to the party.
I've been working with jasperreports from sourceforge the last couple of
weeks to create reports in PDF. It also has the ability to create an
excel spreadsheet as well, although I haven't used it yet. Using it in
conjunction with iReports, also from sourceforge, you
Hi Mandar,
Mandar Vaidya schrieb:
I'm trying to change hostname on the tomcat server from localhost to
my
server name. After I change it in server.xml, I'm able to go to
http://servername:8080 url, but I'm not able to go to
http://servername:8080/admin . It gives me error.
I'm running Tomcat 5.5.9 on a Windows2000 server. I am not running Apache
and for various reasons won't be installing it. I'm not a Tomcat
administrator so I may sound a bit clueless.
I have tried to follow the instructions on
http://www.ex-parrot.com/~pete/tomcat-vhost.html but am confused or
Has anybody seen any problems with this? We are upgrading from
1.4.2_06 or _07 to 1.5._02. We are seeing some slow
performance. It appears to be with forwards or possiblly redirects.
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Appriss, Inc.
ICQ# 26487421
AIM
Hi user group,
Is there any easy way to restrict the access to a specifc webapp by require
login?
/L
We are getting the following error when trying use a jsp, either directly
through tomcat, or through apache with the tomcat connector:
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
Please check If the directory
/usr/local/tomcat/jakarta-tomcat-5/build/work/Catalina/localhost/ has
write permission for wwwrun user ?
Guru
-Original Message-
From: Fay, Michael [mailto:[EMAIL PROTECTED]
Sent: 10 May 2005 17:17
To: 'Tomcat Users List'
Subject: error trying to run a jsp
Tomcat 5.5.9 running on Linux Fedora core 2
Tomcat upgraded from version 5.0.27 to version 5.5.9 + Admin app
Version 5.5.9 seems to run faster, however we cannot redeploy applications,
when a war file on the webapps folder is overwritten with a new version
tomcat ignores it and continues
Both tomcat and httpd have write permissions to the directory...is someone
else supposed to be in the tomcat group?
-Original Message-
From: Raghupathy,Gurumoorthy [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 10, 2005 9:21 AM
To: 'Tomcat Users List'
Subject: RE: error trying to run a
On Tue, 10 May 2005, Matthew P Puccio wrote:
I'm running Tomcat 5.5.9 on a Windows2000 server. I am not running Apache
and for various reasons won't be installing it. I'm not a Tomcat
administrator so I may sound a bit clueless.
I have tried to follow the instructions on
I just realized that root owned everything under work. When I changed it to
tomcat, it works now. Thanks.
-Original Message-
From: Fay, Michael
Sent: Tuesday, May 10, 2005 9:36 AM
To: 'Tomcat Users List'
Subject: RE: error trying to run a jsp
Both tomcat and httpd have write
Le 10 mai 05 à 15:56, Eric VERGNAUD a écrit :
Hi,
I'm having problems running Tomcat 5.0.28 using JDK 1.5.0.02.
I'm using 1.5 methods such as Node.getTextContent. This works fine
when run as a standalone app in JDK 1.5, however when run with
Tomcat under the same JDK, execution throws an
I was using Tomcat 5.5.4 and the catalina-ant.jar to create my deploy and
undeploy tasks. Everything worked great. I upgraded to 5.5.9 and tried using
the distributed catalina-ant.jar with it and now the deploy and undeploy
tasks are broken. Here is how I am doing this:
code:
As a minimum you are going to need to set the URIEncoding attribute on
the connector. I guess this needs to be set to UTF-8.
I have done some limited testing on this in the past and it is possible
but given the general mess that is i18n and the internet I would avoid
using non ISO-8859-1
What command did you use to generate the certificate request in the
first place?
Mark
Carlos Conde wrote:
Hello,
I'm trying to enable HTTPS with Tomcat5.5.9. Here is my connector description in
the server.xml file:
Connector port=8443
minProcessors=5
Thank you Lutz,
I was trying for the second option,
Here is how my server.xml file
Engine defaultHost=techserv name=Catalina
Host appBase=webapps name=techserv
Logger className=org.apache.catalina.logger.FileLogger
prefix=techserv_log. suffix=.txt timestamp=true/
Hi all,
I desperatly try to POST UTF-8 data to an application using struts.
GET method works perfectly fine, but post does not.
I am using CharacterEncodingFilter
All pages have Content-Type header
java1.5.0 update 2
Tomcat 5.0.27
various Un*x systems.
Tia
Bernhard
Hi,
I have 2 webapplications and one of them have to run with the tomcat 4.x
Version the other one I want do install it on the new 5.x version. Can I
install both tomcat versions on the same server?
Are both versions independent, so when one crashs it has no influence on the
other?
I
Hi,
I have 2 webapplications and one of them have to run with the tomcat 4.x
Version the other one I want do install it on the new 5.x version. Can I
install both tomcat versions on the same server?
Are both versions independent, so when one crashs it has no influence on the
other?
I
Yes you can run as many tomats as you wish.
Make sure the shutdown ports are different. The default is 8005.
-Tim
ojay78 wrote:
Hi,
I have 2 webapplications and one of them have to run with the tomcat 4.x
Version the other one I want do install it on the new 5.x version. Can I
install both
This is not a solution - but a recommendation.
If you output your Excel files in the XML format - then you can specify
whatever you like (excluding charts).
A simple way to determine what XML you need is to create a test Excel
file 1st and then save it as XML and paramterise it.
You can set Page
I feel that I am almost there, but can't quite get the last problem out
of the way.
I am using Tomcat 5.5.7, NetBeans 4.1rc2, and Hibernate 3.0.3.
I have set up the web.xml for my project to start the HibernateUtil as a
load-on-startup servlet and confirmed that the proper libraries (jar
Rick,
Actually, I believe it might be possible. Ugly, but possible. Using
Runtime.getRuntime() to get the current runtime, you can then actually
make a call to a shell command. You could call a batch file that would
shut down the server and then restart it. What I don't know is if the
newly
Hi all,
I have installed a new tomcat server 5.0.28 on Linux Slackware 10.
I' m facing a strange problem configuring my tomcat admin webapps.
I wrote my own server.xml to learn how tomcat is working.
I'm fully accessing the tomcat manager and Tomcat Administration.
The Authentication is made
Hi,
I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat
can I set an environment variable?
I can set an environment variable by going to Control Panel - System -
Advanced - Environment variables, but I want to do it in Catalina.sh or
equivalent.
In my Tomcat/bin folder I have
You dont really give enough details for your problem
but...
Maybe you have to decode the UTF-8 data.
URLDecoder.decode(YOUR_STRING_HERE,UTF-8) should
do the trick. Most GET requests are decoded before
the request parameters reach the servlet. POST
requests require the decode process.
Regards,
Hi Omar,
Am Dienstag, 10. Mai 2005 18:33 schrieb Marquez, Omar:
Tomcat 5.5.9 running on Linux Fedora core 2
Tomcat upgraded from version 5.0.27 to version 5.5.9 + Admin app
Version 5.5.9 seems to run faster, however we cannot redeploy
applications, when a war file on the webapps folder is
A method we have used with success for inbound request encoding is to add a
Servlet Filter to our application whose sole job is to call
request.setCharacterEncoding(UTF-8)
Allistair.
And you might consider adding a call to:
response.setContentType( text/html; charset=UTF-8 );
In the
Hi,
Thanks for reading this. I need to know why my Tomcat 5.0.28 (RedHat 9) is not
logging.
In my server.xml I have 2 domains:
Engine defaultHost=111.111.111.111 name=Catalina
Host appBase=webapps name=domain1.com debug=0
Logger className=org.apache.catalina.logger.FileLogger
I desperatly try to POST UTF-8 data to an application using struts.
GET method works perfectly fine, but post does not.
I am using CharacterEncodingFilter
All pages have Content-Type header
I assume you're calling:
response.setContentType( text/html; charset=UTF-8 );
You'll also want to
Hi Luntz,
Thanks for answering.
this is from my server.xml
Host
appBase=webapps
autodeploy=true
unpackWARs=true
name=localhost
Context
path=/webapp reloadable=true
Hi Mufaddal,
Am Dienstag, 10. Mai 2005 21:33 schrieb Mufaddal Khumri:
I have Tomcat 5.5 running as a service on Windows XP. Where in Tomcat
can I set an environment variable?
I can set an environment variable by going to Control Panel - System
- Advanced - Environment variables, but I want
hi,
regarding the load-on-startup tag in web.xml:
say i have 2 web apps (webapp1 and webapp2). if i configure webapp1's
servlet to have load-on-startup1/load-on-startup and webapp2's
servlet to have load-on-startup100/load-on-startup, does this mean
that tomcat will init webapp1's servlet first
I may be off base on this one but I think that once Tomcat fires off the
init method it doesn't care or monitor the progress of the servlet. Just
think, some servlets may take several minutes to finish. If other apps had
to wait then it could take a long time to get the server started.
Now as
Sure. It's a good pointer to me to look into. Sure to
do more study on this.
Thank you.
Laxmi
--- Mike Trotman [EMAIL PROTECTED] wrote:
This is not a solution - but a recommendation.
If you output your Excel files in the XML format -
then you can specify
whatever you like (excluding
Thanks for the info. I will read on this.
--- Mike Curwen [EMAIL PROTECTED]
wrote:
you should consider using POI, if you need
Excel-only features like footer
repeated on every page.
Specifically:
http://jakarta.apache.org/poi/hssf/quick-guide.html#HeaderFooter
-Original
Guess, this is more suiting to my problem.
Thanks for the information.
Laxmi
--- Joe Plautz [EMAIL PROTECTED] wrote:
Sorry I'm late to the party.
I've been working with jasperreports from
sourceforge the last couple of
weeks to create reports in PDF. It also has the
ability to create
Hello,
I am little bit confuse in following decision:
Should be use
1- Apache (2.0.54) + Tomcat (5.0.28) in production with tomcat listener
(through Coyote connector) configured with mod_jk (1.2.12) with apache
2- Or Standalone Tomcat (with their standard apache provided by tomcat)
What would be
On 5/10/05, Praveen KUMAR [EMAIL PROTECTED] wrote:
Hello,
I am little bit confuse in following decision:
Should be use
1- Apache (2.0.54) + Tomcat (5.0.28) in production with tomcat listener
(through Coyote connector) configured with mod_jk (1.2.12) with apache
2- Or Standalone Tomcat
From: Praveen KUMAR [mailto:[EMAIL PROTECTED]
Subject: Apache+Tomcat
What would be difference in both the scenarios in terms of
performance and reliability?
Reliability: (very) generally, the fewer moving parts, the less chance
of problems.
Performance: only you can answer that question
I have form based authentication working. But, I need the login form to
be a little more dynamic. For instance, I want to use different forms
for different areas and not always use the same form. Is this possible?
For instance, under one site I want to limit URLs to different logins.
I
Hi,
Can anyone tell why I am getting this exception.
SEVERE: Null component
Catalina:type=DataSource,path=/,host=localhost,class=javax.sql.DataSourc
e,
name=jdbc/oracle
Thanks
Joy Kenneth
-
To unsubscribe, e-mail: [EMAIL
Wade Chandler wrote:
I have form based authentication working. But, I need the login form to
be a little more dynamic. For instance, I want to use different forms
for different areas and not always use the same form. Is this possible?
For instance, under one site I want to limit URLs to
use jasper reports with ireports ( GUI ) for jasper ... very nice :o)
- Original Message -
From: U K Laxmi [EMAIL PROTECTED]
To: Tomcat Users List tomcat-user@jakarta.apache.org
Sent: Wednesday, May 11, 2005 3:47 AM
Subject: Re: Free reporting s/w that works with apache+tomcat
Guess,
88 matches
Mail list logo