Sorry-HowToUnSubscribe

2005-10-19 Thread Binildas C
Sorry to intrude your mailboxes. Can somebody help me pointing out how to Un-Subscribe from users@tomcat.apache.org mailing list. I tried by sending mail to [EMAIL PROTECTED], but am getting error (below). Thanks Binil --- [EMAIL PROTECTED] wrote: Date: 19 Oct 2005 05:28:28 - From:

URL-Encoding Problems after Transformation from JRUN to TOMCAT

2005-10-19 Thread starki78
Hi I've the following problem that makes me a little bit mad with encoding a URL: JRUN URLEncoder.encode(downloads.jsp?group=%=group%); --Method works on JRUN TOMCAT 5.0 URLEncoder.encode(downloads.jsp?group=%=group%,iso-8859-1); --at the bottom of the explorer it is displayed wrong when I

RE: classloader during tomcat startup

2005-10-19 Thread Robert Graf-Waczenski
Using the load-on-startup mechanism was the way to go with older servlet APIs. Nowadays, with servlet API 2.4, having a class implement the ServletContextListener interface is better in my eyes. Here you go: public class MyInitClass implements ServletContextListener { static {

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Well, i saw the ServletContextListener thingies. Here is what i read about it, not quite the same, in servlet 2.4 specifications: SRV.10.3.2Deployment Declarations Listener classes are declared in the Web application deployment descriptor using the listener element. They are listed by

RE: classloader during tomcat startup

2005-10-19 Thread Robert Graf-Waczenski
SRV.14.2.12ServletContextListener public interface ServletContextListener extends java.util.EventListener All Superinterfaces: java.util.EventListener Implementations of this interface receive notifications about changes to the serv- let context of the web application they are

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Robert Graf-Waczenski a écrit : SRV.14.2.12ServletContextListener public interface ServletContextListener extends java.util.EventListener All Superinterfaces: java.util.EventListener Implementations of this interface receive notifications about changes to the serv- let context of the

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-19 Thread birendar . waldiya
Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message

Re: hacking the tomcat DefaultServlet

2005-10-19 Thread Tim Funk
I think this should work in your own web.xml: filter-mapping filter-nameMyFilter/filter-name servlet-namedefault/servlet-name /filter-mapping -Tim Maurice Yarrow wrote: Tim So, my question is: can I request that a filter be applied to all static page requests that are going to

Re: Detecting Session Timeout in Tomcat

2005-10-19 Thread Paul Singleton
Brian Blount wrote: I need to be able to distinguish between a session timeout vs the first time someone accesses my web application. Within a single web application, I've been able to use the following logic: (request.isRequestedSessionIdValid() == false

Re: How to configure logfile and options for mod_jk2

2005-10-19 Thread Markus Schönhaber
Am Mittwoch, 19. Oktober 2005 13:41 schrieb Martin Knoblauch: Hi, after a lot of googling and looking at the jk2 documentation and code, I am still lost. My configuration is: apache2 (2.0.55) + mod_jk2 (2.0.4) + tomcat (5.0.30). [is this the right mod_jk2 for this combination ??] I want

Re: Pre compilation of JSP

2005-10-19 Thread Paul Singleton
Santosh Asbe wrote: Hi, i have tried to use the code for pre compilation of JSP from the site http://www.rgagnon.com/javadetails/java-0414.html. In my Application in the JSP folder , there around 6 sub folders and around 25-30 JSP is each of them. When i run this JSP only few JSP's are

Global Sessions

2005-10-19 Thread Eoghan Shields
Hi, Is it possible to have a single session which can be used over multiple applications on a single server, the basic problem is there is multiple webapps running on the same server but when a user logs into one, it would be nice to share all their session data so that they could switch

Re: Global Sessions

2005-10-19 Thread David Delbecq
It would be a nightmare ;) Sessions are used to store objects, lots of libs does store in session various datas. All objects loaded are linked to their Classloader. So if you store a org.mycompany.MyData object under key SOME_KEY in session within webapp1 and you do this in webapp2: if

Re: Problems with web.xml generated from RAD and from Ecplise.

2005-10-19 Thread Frank W. Zammetti
A bug in RAD?!? Surely you jest! Ahem. ComicBookGuyRAD... Worst... IDE... EVER!/ComicBookGuy (Unfortunately, I may have no choice but to use it soon... it's the standard at my company, but I've been able to resist thus far. I can only hope my luck continues that way). -- Frank W. Zammetti

RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK

2005-10-19 Thread LORESERVO.COM
Please don´t send more emails I´m not tomcat user -Mensaje original- De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 19 de Octubre de 2005 04:20 a.m. Para: Tomcat Users List Asunto: RE: Character Encoding -ISo-8859-1 Vs UTF-8 Vs GBK Notice: The information

Re: How to configure logfile and options for mod_jk2

2005-10-19 Thread Martin Knoblauch
So, how do I shut that up? Any help is appreciated. I already tried stuff like JKLogFile or logger.file, but no real success :-( AFAIK jk2 isn't actively developed any more. Instead, the use of jk is recommended. Docs ar here: http://tomcat.apache.org/connectors-doc/index.html The HowTo

mod_jk2 under heavy load

2005-10-19 Thread Steve Gaunt
HI, Has anyone else had any issue using mod_jk under heavy load.. It seems after a period of time(or large no. opf requests) under heavy load AJP connetor just hangs. It's crazy. All the ajp connections seem to be hanging in service mode, and the only way to recover this is to restart

stdout in tomcat 5.5

2005-10-19 Thread Chandrasekar Krishnan
Hi all, I recently upgraded an application from Tomcat 5.0 to 5.5 and can't get the exception trace (uncaught exceptions that where previously logged to localhost_log) to log anywhere. The documentation specifies that localhost_log is not used in 5.5 and the uncaught exception stack trace is

Newbie Installation Question

2005-10-19 Thread brown wrap
I have looked through the FAQs and search the web, and although this should be a simple problem, I don't find an answer. I can't start tomcat: Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at

RE: Newbie Installation Question

2005-10-19 Thread Caldarale, Charles R
From: brown wrap [mailto:[EMAIL PROTECTED] Subject: Newbie Installation Question Exception during startup processing java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina What version of Tomcat? What OS? Where did you install Tomcat? Can't help without real

RE: Newbie Installation Question

2005-10-19 Thread brown wrap
Sorry, I am trying to install Tomcat, Version 4.1.3 and using j2eesdk-1_4_02_2005Q2-linux.bin that I downloaded from Sun. Sorry I left out the most important information. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: brown wrap [mailto:[EMAIL PROTECTED] Subject: Newbie

RE: Newbie Installation Question

2005-10-19 Thread Caldarale, Charles R
From: brown wrap [mailto:[EMAIL PROTECTED] Subject: RE: Newbie Installation Question Sorry, I am trying to install Tomcat, Version 4.1.3 and using j2eesdk-1_4_02_2005Q2-linux.bin that I downloaded from Sun. Sorry I left out the most important information. If you're just starting with

RE: Newbie Installation Question

2005-10-19 Thread brown wrap
I had been trying to avoid actually building Tomcat, I was trying to use a Linux binary. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: brown wrap [mailto:[EMAIL PROTECTED] Subject: RE: Newbie Installation Question Sorry, I am trying to install Tomcat, Version 4.1.3 and

RE: Newbie Installation Question

2005-10-19 Thread brown wrap
OK, I downloaded the binary. My error is different, but it still does not start up: [EMAIL PROTECTED] logs]# more catalina.out java.lang.ClassNotFoundException: org.apache.catalina.startup.Catalina at java.net.URLClassLoader$1.run(URLClassLoader.java:200) at

Can't get StandardManager Mbean from Mbean server

2005-10-19 Thread Peter Guarnieri
Hi all, I'm currently trying to write some code to monitor active sessions in my web-app. I've got the following code written to find the MBean representing the context of my web-app, and pull out the StandardManager object: MBeanServer mBeanServer = null;

RE: Problem writing Webdav Servlet for Tomcat

2005-10-19 Thread Mark Thomas
Why not start from the WebDAV servlet supplied with Tomcat? http://svn.apache.org/repos/asf/tomcat/container/tc5.5.x/catalina/src/share/org/ apache/catalina/servlets/WebdavServlet.java Alternatively took a look at Jakarta Slide. http://jakarta.apache.org/slide/index.html Re-inventing the wheel

RE: Newbie Installation Question

2005-10-19 Thread brown wrap
I guess I am looking for a clue as to what the messages in the log file means. It says exception, but I don't even know where to look for the problem. The only file in the log directory that has anything in it, is catalina.out. The rest are empty. --- brown wrap [EMAIL PROTECTED] wrote:

Re: mod_jk path to jk-runtime-status

2005-10-19 Thread Rainer Jung
The directive is JkShmFile It takes the path/file as one parameter. If the path is relative, it is being taken as relative to apaches ServerRoot. Absolte paths should work as is. Default is logs/jk-runtime-status. Of course apache needs the correct permissions to create/write on the file.

RE: Newbie Installation Question

2005-10-19 Thread Caldarale, Charles R
From: brown wrap [mailto:[EMAIL PROTECTED] Subject: RE: Newbie Installation Question I guess I am looking for a clue as to what the messages in the log file means. It means it can't find the named Java class file. This could be due to an incomplete or corrupted installation or possibly a

RE: Newbie Installation Question

2005-10-19 Thread brown wrap
I actually got it run by installing ant and following the build instructions. --- Caldarale, Charles R [EMAIL PROTECTED] wrote: From: brown wrap [mailto:[EMAIL PROTECTED] Subject: RE: Newbie Installation Question I guess I am looking for a clue as to what the messages in the log

RE: Unsubscribe DON'T WORK!

2005-10-19 Thread GB Developer
I have an idea, perhaps it's correct. It looks like a mail server admin has got their spam filter cranked past MAX. From your returned email: The Postfix program [EMAIL PROTECTED]: host asf.osuosl.org[140.211.166.49] said: 552 spam score (7.0) exceeded

Trouble finding Datsource Resource with DataSourceRealm

2005-10-19 Thread GB Developer
My Tomcat's having trouble finding the JNDI Datasource to use for a DataSourceRealm. Details: Tomcat 5.0.28 Java 1.4.2_04-b05 on Linux partial server.xml: Server port=x shutdown=SHUTDOWN debug=0 GlobalNamingResources !-- I removed this file-based resource -- /GlobalNamingResources

Re: mod_jk2 under heavy load

2005-10-19 Thread j r
We handle 1-2million hits per hour using mod_jk-1.2.13. No special config setup. It just worked out of the box. jr On 10/19/05, Steve Gaunt [EMAIL PROTECTED] wrote: HI, Has anyone else had any issue using mod_jk under heavy load.. It seems after a period of time(or large no. opf requests)

RE: mod_jk2 under heavy load

2005-10-19 Thread Steve Gaunt
HI We are using IIS with JBoss 4.01(tomcat 5) What verion of tomcat are you using?? We are using windows 2003 servres, with 4G ram. JVM is 1.42 and we allocate 1.4G of ram to it when running Jboss. These are my property files, Can you see anything wrong?? worker.insight.port=8009

Dynamically included jsp's

2005-10-19 Thread j r
All, This is perhaps a very easy question for many of you, but here it goes: What has changed from tomcat 4.1.30 to tomcat 5.5 that would make dynamic jsp includes not work? I have tried setting the following settings to ensure that it works: development=false, reloading=true, checkInterval=900