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

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

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 req

Re: Trouble finding Datsource Resource with DataSourceRealm

2005-10-19 Thread Stanley Bradbury
GB Developer wrote: 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: factory org.apache.commons.dbcp.BasicDataSourceFactory

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: factory org.apache.commons.dbcp.BasicDataSourceFactory usernam

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) exceede

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

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 possibl

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 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: Newbie Installation Question

2005-10-19 Thread brown wrap
Yes, I read Running.txt Here is my start line by hand: [EMAIL PROTECTED] 5.5.12]# /usr/local/tomcat/bin/startup.sh Using CATALINA_BASE: /usr/local/tomcat Using CATALINA_HOME: /usr/local/tomcat Using CATALINA_TMPDIR: /usr/local/tomcat/temp Using JRE_HOME: /export/00/java/jdk1.5.0_05/ -

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 ca

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: Newbie Installation Question

2005-10-19 Thread Caldarale, Charles R
> From: brown wrap [mailto:[EMAIL PROTECTED] > Subject: RE: Newbie Installation Question > > OK, I downloaded the binary. My error is different, > but it still does not start up: Did you read RUNNING.txt? Where did you install Tomcat? How are you trying to run it? - Chuck THIS COMMUNICATIO

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 java.security.AccessC

Unsubscribe DON'T WORK!

2005-10-19 Thread afonseca
Hi team of Tomcat Users List! All email that you have for unsubscribe DON'T WORK! I send more then 20 times for the 2 emails that you gave and they DON'T WORK! Always get the Undelivered Mail Returned to Sender! Do you have any ideia of what is going on? Best Regards António - Mensagem Reen

mod_jk path to jk-runtime-status

2005-10-19 Thread Jay Lawrence
What Apache parameter determines this file (shared memory segment?) location? my Debian Sarge seems to default it to: /etc/apache2/logs/jk-runtime-status I reckon a better place would be: /var/log/apache2/jk-runtime-status TIA, Jay -

RE: Newbie Installation Question

2005-10-19 Thread Mark Eggers
Tomcat comes as a binary. Just download the binary distribution. See: http://tomcat.apache.org/download-55.cgi#5.5.12 On linux, I normally create a special user for Tomcat and make it a mamber of the same group that the user that runs Apache is under. This is www for Fedora Core 4. I usually

RE: Newbie Installation Question

2005-10-19 Thread Caldarale, Charles R
> From: brown wrap [mailto:[EMAIL PROTECTED] > Subject: RE: Newbie Installation Question > > I had been trying to avoid actually building Tomcat, I > was trying to use a Linux binary. No building required. Tomcat is pure Java, so all the downloads actually work on all platforms. You can use th

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

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 wi

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 In

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 inform

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 org.apache.catalina.loader.Standard

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 logge

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 to

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 HowT

RE: Sorry-HowToUnSubscribe

2005-10-19 Thread LORESERVO.COM
Please dont send more emails im not user to tomcat -Mensaje original- De: Anto Paul [mailto:[EMAIL PROTECTED] Enviado el: Miércoles, 19 de Octubre de 2005 01:16 a.m. Para: Tomcat Users List Asunto: Re: Sorry-HowToUnSubscribe It has changed to [EMAIL PROTECTED] Tomcat has been moved from

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 contain

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

2005-10-19 Thread Richard Mixon
Thanks Wendy, I've typically heard it as Rapid Application Development, but knew he must be talking about something else. Wow! You know everything :) -Original Message- From: Wendy Smoak [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 18, 2005 10:52 PM To: Tomcat Users List Subject: Re

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. RAD... Worst... IDE... EVER! (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 Founder and Chief Softwar

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 (session.

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 betwe

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 compl

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 ??] > >

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 && (request.isRequestedSessionIdFromC

How to configure logfile and options for mod_jk2

2005-10-19 Thread 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 to redirect all mod_jk2 messages into a separate file. I also want to

Re: hacking the tomcat DefaultServlet

2005-10-19 Thread Tim Funk
I think this should work in your own web.xml: MyFilter default -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 DefaultServlet? Or is this done with a Valve? --

RE: Precompilling struts-el tags with Jasper2

2005-10-19 Thread Ramnish Kalsi
Pretty basic, but can you locate this class in the classpath at precompilation time !!! Print out your classpath being used at precompilation stage & then check this class file in those jars. -thnx. -Original Message- From: DeJong, Jonathan [mailto:[EMAIL PROTECTED] Sent: 14 October 200

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 and

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 c

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 the

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 clas

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 {

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 w

Re: classloader during tomcat startup

2005-10-19 Thread David Delbecq
Creating an initialisation servlet for your webapp would be a good way. Create a servlet and map it in web.xml adding a element with a non zero value. In the servlet init you can then setup all classes you need. For classloading hierarchy in tomcat, take a look at http://tomcat.apache.org/tomcat-

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

2005-10-19 Thread Nikola Milutinovic
Developer Developer wrote: Hello All, my web.xml generated from RAD does not work in the Web Sphere Application Server, While the web.xml generated from ecplise 3.1 works fine. I guess the problem lies somewhere in the header information. These 3 lines are from ECplise that work Correctly. http

RE: Suppress "Connection reset by peer: socket write error".

2005-10-19 Thread Robert Graf-Waczenski
Hi, > Also, how come the page is not forwarded to > ErrorPage.jsp? Because the error situation is not "client request needs server response, server fails" but vice versa: "server is ready to write response to client and client has stopped listening". So, there is simply no point in thinking of an