AW: jsp:plugin type=applet... and firefox

2005-06-02 Thread Heiner . Amthauer
Original message: missing plugin. Other servers, such as BEA weblogic, are creating the same page very well for various kinds of clients. Which means: I've deployed the exact same page to weblogic, and it works fine with firefox. Of course, I've already tried to install the plugin, but

Re: client authentication with client certificates (ssl)

2005-06-02 Thread Paul Puschmann
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark Thomas wrote: Paul Puschmann wrote: we'd like to use our Tomcat with ssl and client certificates. Does anybody know if the user information (of the user-certificate) can be used to authenticate? Tomcat is 5.5.7 CLIENT-CERT

Problem with Managed Bean

2005-06-02 Thread Stefan Parnet
Hello, I wrote a new UserDatabase Class which meets better our needs. I used Tomcat 5.0 with Java 1.4. Everthing worked fine. Now I want to use Tomcat 5.5 with Java 1.5. I now get the following Exception: SCHWERWIEGEND: Exception creating UserDatabase MBeans for UserDatabase

WebappClassLoader - don't understand what's happening

2005-06-02 Thread Herrmann, Sascha \(GE Healthcare\)
We are facing a problem with Tomcats WebappClassLoader. We deploy several of our own applications on one Tomcat server. It seems that the WebappClassLoaderS are not isolated but share classes instead. Why would that be? Judging from the (well, outdated) classloader documentation, this should

Tomcat thread is dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 connector on Solaris 8)

2005-06-02 Thread Muhammad Owais Ansari
Hello there, I've tried to configure tomcat 5.0.28 with apache 2.0.54 through mod_jk connector (mod_jk.so used from file jakarta-tomcat-connectors-jk-1.2.5-solaris8-sparc-apache-2.0.47.tar.gz at jakarta.apache.org) on Solaris 5.8 (Solaris 8) platform but tomcat is dieing after some time with

Tomcat dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 on Solaris 8)

2005-06-02 Thread M. Owais Ansari
Ive tried to configure tomcat 5.0.28 with apache 2.0.54 through mod_jk connector (mod_jk.so used from file jakarta-tomcat-connectors-jk-1.2.5-solaris8-sparc-apache-2.0.47.tar.gz at jakarta.apache.org) on Solaris 5.8 (Solaris 8) platform but tomcat is dieing after some time with

tomcat 5.5.x J2EE Connector

2005-06-02 Thread faisal
I found this http://www.mail-archive.com/tomcat-user@jakarta.apache.org/msg73629.html on the archive but this thread is very old and I am wondering if newer tomcat 5.5.x version implements JCA. - To unsubscribe, e-mail: [EMAIL

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
This indeed should not happen as this would break sun specs. I would be quite surprised it it was at all possible :/ How did you conclude the webappclassloader is sharing the class between webapps in your case? Are you sure you are not mistakenly using a shared class? Not only does every

AW: Tomcat dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 on Solaris 8)

2005-06-02 Thread Edao, Aliye
Hi, It seems that you are starting http on 2 Ports but you have just 1 instance of Tomcat?? Go to CATALINA_HOME/conf and edit server.xml -- comment out the block were you have Port 8082 and restart Tomcat. Hope that helps... Mit freundlichem Gru / kind

RE: tomcat 5.5.x J2EE Connector

2005-06-02 Thread Guy Katz
tomcat is not a J2EE implementation so you should not expect JCA to be implemented in tomcat. -Original Message- From: faisal [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 1:35 PM To: tomcat-user@jakarta.apache.org Subject: tomcat 5.5.x J2EE Connector I found this

RE: Tomcat dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 on Solaris 8)

2005-06-02 Thread Muhammad Owais Ansari
Thanks for the quick response! The code snip !-- Connector port=8082 maxThreads=150 minSpareThreads=25 maxSpareThreads=75 enableLookups=false acceptCount=100 debug=0 connectionTimeout=2 proxyPort=80 disableUploadTimeout=true / -- is

AW: Tomcat dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 on Solaris 8)

2005-06-02 Thread Edao, Aliye
Hi, Can it be, that something is wrong with your server.xml??? If you see the following in catalina.out: [INFO] Http11Protocol - Initializing Coyote HTTP/1.1 on http-8080 [INFO] Http11Protocol - Initializing Coyote HTTP/1.1 on http-8082 It means some where in server.xml exists a block with

tomcat 5.5.9 does not read context.xml

2005-06-02 Thread teknokrat
What is the story with context descriptors in 5.5.9. Nothing seems to work right. I have placed the the following context.xml file in the META-INF directory inside my war Context path=/mobile reloadable=true/ When my war is expanded the context does not use the name in the path as specified

Re: tomcat 5.5.9 does not read context.xml

2005-06-02 Thread Parsons Technical Services
The value of this field(Path) must not be set except when statically defining a Context in server.xml, This is found on this page under the Path attribute, http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message - From: teknokrat [EMAIL

Lb_factor problem for clustering

2005-06-02 Thread Gaurav Bansal
Can any body explain me how this lb_factor works in worker2.properties file What is the highest value we can assign to it... Actually my problem is I am using tomcat 5.5.7 with apache 2.0.48 There are 2 tomcat instances. I want some way in which all the request should land up to one tomcat node

RE: Tomcat thread is dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 connector on Solaris 8)

2005-06-02 Thread pierre-yves.3.landanger
Increase your log level to DEBUG everywhere you can, and then retry. Is the application dying when you access your application directly on tomcat (without using Apache) ? py -Original Message- From: Muhammad Owais Ansari [mailto:[EMAIL PROTECTED] Sent: jeudi 2

RemoteAddrValve

2005-06-02 Thread Janet Dickson
Hi I'm trying to use RemoteAddrValve to restrict access to a website to a subnet in Tomcat 4.1 Tried : Valve className=org.apache.catalina.valves.RemoteAddrValve allow=xxx.xxx.xxx.xxx/25 / but it doesnt seem to work as access from one of my IP addresses is forbidden. Also, I

RE: WebappClassLoader - don't understand what's happening

2005-06-02 Thread Herrmann, Sascha \(GE Healthcare\)
Thanks for your reply. It could be. How is a class pushed to a shared library? I used the following code: System.out.println( BoneDBTransactionImpl2 LOADING *** ); System.out.println( Thread Classloader is: +

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
Le Jeudi 2 Juin 2005 13:49, Herrmann, Sascha (GE Healthcare) a écrit : Thanks for your reply. It could be. How is a class pushed to a shared library? Any library having static methods like SomeLibraryClass.setXYZ(xyz); SomeLibraryClass.getXYZ(xyz); I used the following code:

Webapp Alias

2005-06-02 Thread Benjamin Cuthbert
All I am trying to configure my tomcat so that i can server WAR's that are automatically generated. This application we have will deploy multiple WAR's and remove them over time, so instead of setting up the JKmounts in apache we just want to be able to say serve everything under

RE: WebappClassLoader - don't understand what's happening

2005-06-02 Thread Herrmann, Sascha \(GE Healthcare\)
Any library having static methods like SomeLibraryClass.setXYZ(xyz); SomeLibraryClass.getXYZ(xyz); Wow, wow, wow . You mean any class that has static methods gets shared?? Any class that calls static methods? Could you explain that a bit further, please? so i doubt usefull

RE: Lb_factor problem for clustering

2005-06-02 Thread Serlet Jean-Claude
Hello Look at http://jakarta.apache.org/tomcat/connectors-doc/howto/workers.html Hope this will help you Jean-Claude -Message d'origine- De : Gaurav Bansal [mailto:[EMAIL PROTECTED] Envoyé : jeudi 2 juin 2005 13:33 À : tomcat-user@jakarta.apache.org Objet : Lb_factor problem for

Re: tomcat 5.5.9 does not read context.xml

2005-06-02 Thread teknokrat
Parsons Technical Services wrote: The value of this field(Path) must not be set except when statically defining a Context in server.xml, This is found on this page under the Path attribute, http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/context.html Doug - Original Message

ClassNotFoundException in thread

2005-06-02 Thread Cyril . ZEKSER
Hi all, I've just migrated my appservers from HP-UX to Linux RedHat AS4, and I'm now stuck with a strange issue : I've 2 jar in the WEB-INF/lib directory (common.jar and statistic.jar). The common.jar contains a Watchdog that seek in the DB for job to run, start them, and those jobs are

Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi msjava, I'm trying to migrate our webapp from ServletExec4.1.1/JDK1.3.1 to Tomcat5.0.30/JDK1.4.2. On ServletExec, our app was showing/saving UTF-8 strings correctly. However, after migration to Tomcat, the pages are not showing UTF-8 encoded content correctly. All our JSP pages contain the

Re: ClassNotFoundException in thread

2005-06-02 Thread Anto Paul
On 6/2/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Everything was fin until I migrated. Now the jobs run OK but they fire a ClassNotFoundException as shwon : You double checked that com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure is there in the jar and is in

Réf. : Re: ClassNotFoundException in thread

2005-06-02 Thread Cyril . ZEKSER
Everything was fin until I migrated. Now the jobs run OK but they fire a ClassNotFoundException as shwon : You double checked that com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure is there in the jar and is in the right folder ?. Restarted Tomcat ?. Also try with

Re: Réf. : Re: ClassNotFoundException in thread

2005-06-02 Thread delbd
is there a static initialisation code in com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure ? or static properties whose values are taken from other methods? If anything in the static initialisation of class

Re: WebappClassLoader - don't understand what's happening

2005-06-02 Thread delbd
Le Jeudi 2 Juin 2005 14:50, Herrmann, Sascha (GE Healthcare) a écrit : Any library having static methods like SomeLibraryClass.setXYZ(xyz); SomeLibraryClass.getXYZ(xyz); Wow, wow, wow . You mean any class that has static methods gets shared?? Any class that calls static methods?

Number of running threads

2005-06-02 Thread neil.shadrach
Having got nowhere with my previous query ( Consecutive threads ) I've tried to create a much simpler example. I modified the Hello World servlet to introduce a delay of around a minute ( by adding a count loop ). I also made a copy of it as another servlet. I then made about 12 calls to the two

Poor Performance Tomcat5.5.7, Apache2.0.52, Solaris 9

2005-06-02 Thread BATCHELOR, SCOTT \(CONTRACTOR\)
I am hoping someone has experienced this before. The installation is a binary install of Tomcat and a binary install of mod_jk 1.2.6 connector. We have been running performance tests on this install and Tomcat is very, very cpu intensive topping out at 55% of the cpu's on the box. I have

Context at Host Level

2005-06-02 Thread Andrés Glez.
Hi If i define a jndi resource at the host level, how can i know when tomcat is being stopped to finalize that resource? I mean, in a webapp context level, i can define a ServletContextListener so i can get the event ContextDestroyed and close, say, some opened files. I've been searching

Version Combinations (Tomcat, OS, JDK)

2005-06-02 Thread Spitzley, Kai, VF-DE
Greetings, is there a compatibility chart for combinations of OSes and Tomcat/JDK Versions ? (i.e. What JDK is recommended/supported in Tomcat 4.1.29 on Solaris 8) BEA has such has a chart for Weblogic: http://e-docs.bea.com/platform/suppconfigs/configs70/70_over/overview.ht ml Thus I was

Réf. : Re: Réf. : Re: ClassNotFoundException in thread

2005-06-02 Thread Cyril . ZEKSER
Thanks for your answer but : is there a static initialisation code in com.nexans.statistic.client.model.send.intranet.handler.CreateFileProcedure ? or static properties whose values are taken from other methods? If anything in the static initialisation of class

accept-language header dropped Tomcat 5.0.28

2005-06-02 Thread Derrick Koes
I have turned on the RequestDumper Valve, but I do not get the accept-language header. locale is set to en_US (not in my browser languages). I'm not sure if this is a problem or not. However, the request getLocale() method always returns en_US (default for the server) because there is no

Jsvc and JRockit

2005-06-02 Thread André Cruz
Hello! I have been using jsvc to manage my tomcat process for some time now and with no problems. But, now I'm trying to switch my JVM from SUN to BEA's jRockit and tomcat doesn't start anymore. JRockit just dumps at startup. Is this a known problem? Is jsvc incompatible with JRockit? Is there

RE: servlet request time out ?!

2005-06-02 Thread Angelov, Rossen
I would like to bring that issue up again as I haven't resolved it yet and haven't found what's causing it. Any help and ideas are welcome! Thanks, Ross -Original Message- From: Angelov, Rossen Sent: Thursday, May 26, 2005 1:33 PM To: 'Tomcat Users List' Subject: servlet request time

Tomcat 5 and STRUTS

2005-06-02 Thread Søren Blidorf
Hi. I am getting a new server and want to install the tomcat 5 instead of the 4.1. I am using STRUTS!!! Does that give any major problems Soren, DK Nolas Consulting - To unsubscribe, e-mail: [EMAIL PROTECTED] For

Re: servlet request time out ?!

2005-06-02 Thread J . Alejandro Zepeda Cortés
Maybe the setting in your web.xml is not enough for your request? session-config session-timeout45/session-timeout!-- 30 minutes by default-- /session-config - Original Message - From: Angelov, Rossen [EMAIL PROTECTED] To: 'Tomcat Users List'

Clustering without farmwardeployer

2005-06-02 Thread Todd Huss
We have a Tomcat cluster setup across 9 servers with clustering for session replication. However, we are not using the farmwardeployer because we have our own script that we use to shutdown each tomcat, deploy a fix version, and then start it up again so we don't incur any downtime. However, we're

SOLUTION : Réf. : Réf. : Re: Réf. : Re: ClassNotFoundException in thread

2005-06-02 Thread Cyril . ZEKSER
Yeepeh !!! I've found the solution : All I needed to do was changing the loading of the class by : Object jobClass = this.getClass().getClassLoader().loadClass( getClassName() ).newInstance(); //Object jobClass = Class.forName( getClassName() ).newInstance(); I guess the OS and

RE: Tomcat 5 and STRUTS

2005-06-02 Thread David Short
Nope. I'm using Struts and Tomcat 5.5.x without issue. Just follow the Struts documentation. -Original Message- From: Søren Blidorf [mailto:[EMAIL PROTECTED] Sent: Thursday, June 02, 2005 9:00 AM To: tomcat-user@jakarta.apache.org Subject: Tomcat 5 and STRUTS Hi. I am getting a new

Re: RemoteAddrValve

2005-06-02 Thread QM
On Thu, Jun 02, 2005 at 12:45:15PM +0100, Janet Dickson wrote: : I'm trying to use RemoteAddrValve to restrict access to a website to a : subnet in Tomcat 4.1 You may want to use a ServletFilter instead. This is supported by the 2.3 servlet spec, which means it will be portable among containers

Repeated logging problem on 5.5

2005-06-02 Thread Steve Kirk
I have a double-logging problem, by which I mean that some of my log messages get logged to two logfiles. I have only one logfile configured using java.util.logging, but in some cases, the same log message gets logged to the TC stdout log as well, which I don't want. It's not the end of the

RE: tomcat 5.5.9 does not read context.xml

2005-06-02 Thread Steve Kirk
yes context.xml is fine in META-INF. in fact it is preferred over having it in server.xml. your alternative is to put it in conf/enginename/hostname/yourwebappname.xml (which is in fact what TC will do for you when it unpacks the war). I don't know that you can have the context path name

RE: Number of running threads

2005-06-02 Thread Caldarale, Charles R
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Subject: Number of running threads Why only two rather than maxThreads? How many separate clients are you using to test this with? Browsers typically honor the HTTP RFC recommendation of no more that two concurrent requests to a given host

help for ClassNotFoundExcpetion

2005-06-02 Thread MEHMOOD, QAISER
Hi , Under tomcat I am integrating the uPortal and running one portlet application in a web context. I put my own classes under the WEB-INF/classes directory and also put jar files in WEB-INF/lib directory , but I am getting the error : ClassNotFoundException ,

Scalability issue question

2005-06-02 Thread Wallace, Scott
Currently using IIS and the ISAPI Tomcat redirect. Would like to just use Tomcat instead but don't know if it can handle my static content. The book Apache Tomcat 5 published by WROX warns of performance issues with static content, but ComputerWorld just did an article about Weather.com running

Re: client authentication with client certificates (ssl)

2005-06-02 Thread Mark Thomas
Paul Puschmann wrote: That is fine, but how can I use the CLIENT-CERT information in my applications? The certificate is exposed as a servlet attribute. You need to read section SRV.4.7 of the servlet specification and if you search the specification for certificate you will find some useful

Surprised with this behaviour. Is this a bug ?

2005-06-02 Thread nitin dubey
Hello, From a servlet deployed in tomcat I am getting the request parameter map by calling getParameterMap() then using reflection calling a Class say Sub that has a method construct(HashMap requestMap). The method is called properly but surprisingly I am getting

JMX implementation - Tomcat 5.0.28

2005-06-02 Thread Jimmy Ray
I was ruinning 5.0.28 on Windows, but now it wont start. I get this message: Due to new licensing guidelines mandated by the Apache Software Foundation Board of Directors, a JMX implementation can no longer be distributed with the Apache Tomcat binaries. As a result, you must download a JMX 1.2

Re: Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Mark Thomas
Karanjkar, Sanjay V (IT) wrote: Hi msjava, I'm trying to migrate our webapp from ServletExec4.1.1/JDK1.3.1 to Tomcat5.0.30/JDK1.4.2. On ServletExec, our app was showing/saving UTF-8 strings correctly. However, after migration to Tomcat, the pages are not showing UTF-8 encoded content

Shared web.xml

2005-06-02 Thread Trice, Jim
All, I inherited a tomcat installation with two tomcat servers running RedHat Enterprise 3 and tomcat 4.1. They are being load balanced behind a netscaler. The webapps directory and thus the web.xml files for each context are shared via NFS. The problem I have is that any time the web.xml is

Re: Context at Host Level

2005-06-02 Thread Mark Thomas
Andrés Glez. wrote: there is no ContainerListener or something like that? Look at http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/engine.html and http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/host.html You need to seach for lifecycle listener. Not part of the spec but

Re: Scalability issue question

2005-06-02 Thread Hari Mailvaganam
It can be a good idea to have it load balanced from a performance and uptime point of view. It is hard to absolutely decipher what each Tomcat can specifically handle in terms of load. A load test, which emualates user actions, may give you a ball park. The dependencies are on network, server

Re: Version Combinations (Tomcat, OS, JDK)

2005-06-02 Thread Mark Thomas
Spitzley, Kai, VF-DE wrote: is there a compatibility chart for combinations of OSes and Tomcat/JDK Versions ? No. (i.e. What JDK is recommended/supported in Tomcat 4.1.29 on Solaris 8) This is in the documentation (RUNNING.TXT) but the short answer is: 4.1.x - 1.2 or later 5.0.x - 1.3 or

Re: RemoteAddrValve

2005-06-02 Thread Mark Thomas
Janet Dickson wrote: Hi I'm trying to use RemoteAddrValve to restrict access to a website to a subnet in Tomcat 4.1 Tried : Valve className=org.apache.catalina.valves.RemoteAddrValve allow=xxx.xxx.xxx.xxx/25 / but it doesnt seem to work as access from one of my IP addresses

RE: Scalability issue question

2005-06-02 Thread Wallace, Scott
Sorry hit send to fast Tomcat 5.0 and J2SDK 1.42.06 are the versions Scott Wallace Livelink Global Infrastructure Coordinator [EMAIL PROTECTED] 405-270-2027 wk 405-323-2237 cell 405-228-6027 fax I have an existential map; it has 'you are here' written all over it. - Steven Wright

RE: Scalability issue question

2005-06-02 Thread Wallace, Scott
Network is 100megabit Server are 2- HP DL380g4 Dual 3.4gig Xeon chips with 4gig of Ram running Win2003 Scott Wallace Livelink Global Infrastructure Coordinator [EMAIL PROTECTED] 405-270-2027 wk 405-323-2237 cell 405-228-6027 fax I have an existential map; it has 'you are here' written all over

Re: Scalability issue question

2005-06-02 Thread Peter Lin
you could always look at the new performance benchmark i ran for static files on the resources page. it shows the performance of tomcat 5 as the number of clients increase and file size increases. hope that helps peter On 6/2/05, Wallace, Scott [EMAIL PROTECTED] wrote: Network is 100megabit

RE: Scalability issue question

2005-06-02 Thread Wallace, Scott
I'm a true newbie to this site. I found your article after I submitted the thread. I'm halfway thru it now. Scott Wallace Livelink Global Infrastructure Coordinator [EMAIL PROTECTED] 405-270-2027 wk 405-323-2237 cell 405-228-6027 fax I have an existential map; it has 'you are here' written

Re: Scalability issue question

2005-06-02 Thread Jason Bainbridge
On 6/2/05, Wallace, Scott [EMAIL PROTECTED] wrote: Currently using IIS and the ISAPI Tomcat redirect. Would like to just use Tomcat instead but don't know if it can handle my static content. The book Apache Tomcat 5 published by WROX warns of performance issues with static content, but

Re: Urgent: how to detect client has closed connection

2005-06-02 Thread lapson lee
Hey Ronald, Thanks for your help. I checked the code. I use default out.. and it indeed was using javax.servlet.jsp.JspWriter, but it does not throw an IOException. Do you know why? Thanks in advance... Luke From: Ronald Klop [EMAIL PROTECTED] Reply-To: Tomcat Users List

when web.xml changes webapp does not reload if not in webapps

2005-06-02 Thread charly
Hello, How should I configure a webapp which is not located in ${catalina.base}/webapps/ that it will reload when I change its web.xml. For example if I change web.xml of manager the manager webapp will not automatically reload. Adding WatchedResourceWEB-INF/web.xml/WatchedResource to

when web.xml changes webapp does not reload if not in webapps ..

2005-06-02 Thread charly
Hello, Sorry I forgot something. How should I configure a webapp which is not located in ${catalina.base}/webapps/ that it will reload when I change its web.xml. For example if I change web.xml of manager the manager webapp will not automatically reload. Adding

Usage of DBCP in Tomcat

2005-06-02 Thread GB Developer
Hi everyone, The number of sites we support has recently expanded, and we're starting to run into db connection errors : we are running out. Mysql currently has its default max (somewhere around 100?), and I'll be scheduling a restart to increase this count (as an aside: anyone know how to up

I cannot get virtual hosts to work Tomcat 5.5.9

2005-06-02 Thread anthony G
Platform: Windows 2003 Tomcat: Tomcat 5.5.9 Standalone I cannot get virtual hosts to work. Server.xml: Host name=test.com appBase=E:\Webspace\ autoDeploy=true debug=0 deployXML=true unpackWARs=true Aliaswww.test.com/Alias /Host I have the context located here

Re: Shared web.xml

2005-06-02 Thread QM
On Thu, Jun 02, 2005 at 02:01:15PM -0500, Trice, Jim wrote: :I inherited a tomcat installation with two tomcat servers running RedHat : Enterprise 3 and tomcat 4.1. They are being load balanced behind a netscaler. : The webapps directory and thus the web.xml files for each context are shared :

Tomcat 5.x client SSL and CRL

2005-06-02 Thread Atul
Hi, I was trying to get tomcat 5.x (standalone) setup for mutual ssl for (only some service URLs) with CRL/OCSP validations. If I write my own CRL validator, how can I tell tomcat to invoke it for such requests? I tried various docs, lists but couldn'tfind any pointers. Any pointers are

how to determine clustering problem?

2005-06-02 Thread John MccLain
We have a webapp that runs fine in 1 tomcat instance. We have insured that all classes being stored in session are serializable When I put the app into a cluster of 3 Tomcats on my machine, it kind of works, but I am getting inconsistent failures. It is like constantly running down rabbit holes as

Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)

2005-06-02 Thread Wendy Smoak
Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on HP-UX and Java 1.5? I'm getting the following error in the localhost log: java.lang.NoSuchMethodError: java.lang.String.contains(Ljava/lang/String;)Z at

WebappLoader and Auto-Detection of Class Changes

2005-06-02 Thread Scott Dudley
I extended WebappLoader.java to create a custom classloader to allow me to append an alternate set of class folders. The loader works as intended but I noted that it doesn't detect any changes to these resources and call Context.reload() as is the case with WEB-INF/classes, lib, and any

Re: Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)

2005-06-02 Thread Wendy Smoak
From: Wendy Smoak [EMAIL PROTECTED] Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on HP-UX and Java 1.5? Now I'm *completely* mystified... test.jsp: % out.println( ABC.contains( A ) ); % works fine (prints 'true' on the page). Has anyone EVER seen behavior

help me please

2005-06-02 Thread juan montoya
sir, hi i installed tomcat5.5.9 , the path also specified correctly. but when executing the jsp2.0 examples the following exception is thrown please do help message description The server encountered an internal error () that prevented it from fulfilling this request. exception

Re: Tomcat + HP-UX = NoSuchMethodError java.lang.String.contains(Ljava/lang/String;)

2005-06-02 Thread QM
On Thu, Jun 02, 2005 at 05:37:23PM -0700, Wendy Smoak wrote: : Any idea why String.contains(String) wouldn't work within Tomcat 4.1 on : HP-UX and Java 1.5? Doesn't Tomcat 4.1 even support JDK 1.5? Are you using 1.5 to build, run, or both? -QM -- software -- http://www.brandxdev.net/

Tomcat 5.59 hang without any message ?

2005-06-02 Thread dummy
Anybody encounter this problem ? It just hang and doesn't allow anybody to access it. Any idea ?

Re: Surprised with this behaviour. Is this a bug ?

2005-06-02 Thread Mark Leone
Not sure I follow all your explanation, and I think you haven't shown us enough of your code to know what's going on, but what is the method signature for method.invoke()? You're passing it an Object and an Object[]. The former (obj) is returned from requestMap.get(). Assuming requestMap is a

Re: help for ClassNotFoundExcpetion

2005-06-02 Thread Anto Paul
On 6/2/05, MEHMOOD, QAISER [EMAIL PROTECTED] wrote: When I put these jar files in tomcat/common/lib directory , its working fine. Can anyone tell me In Tomcat classes in common/lib cannot find a class in a webapplication. Check the stacktrace to see what class is not found and which class

How to get user's password from tomcat

2005-06-02 Thread Jo
Hi all, Once Tomcat has authenticated a login, we can get the the authenticated user's name from the request's getRemoteUser() or getUserPrincipal() methods. Is there a way to get the user's password when the authentication type is form-based or single-sign-on ? Thanks a lot. Jo.-

Re: when web.xml changes webapp does not reload if not in webapps ..

2005-06-02 Thread Anto Paul
On 6/3/05, charly [EMAIL PROTECTED] wrote: For example if I change web.xml of manager the manager webapp will not automatically reload. I think you cannot start,stop or reload the manager application. If you look at the localhost/manager/html you can see that there is no link to do that. --

RE: Tomcat thread is dying unexpectedly (Tomcat5.0.28, apache2.0.54 and mod_jk 1.2.5 connector on Solaris 8)

2005-06-02 Thread M. Owais Ansari
Thanks for your response, Yes the tomcat still dies with out apache might be because the configuration for mod_jk are still there only the apache is shutdown. below are the updated logs after changing in workers.properties, and commenting out the following lines in server.xml !-- Connector

RE: Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi, Apologies, my previous mail was missing a few things... Correction - Tomcat *does* show UTF-8 encoded data correctly (after fetching from the database). It also saves UTF-8 encoded data correctly (I verified this by looking at a saved record). However, the place where it fails is when I

RE: Tomcat 5.0.30 - UTF-8 encoding not working

2005-06-02 Thread Karanjkar, Sanjay V \(IT\)
Hi Mark, Adding URIEncoding=UTF-8 to the coyote connector did the trick. Thanks a bunch! My guess is that our app will be hosted on a tomcat instance that only hosts UTF-8-aware apps. Thanks and regards Sanjay -Original Message- From: Karanjkar, Sanjay V (IT) Sent: Friday, June 03,