Re: How to? debug large session size? drill down and tools / over 400K is too be for replication

2007-10-16 Thread hanasaki jiji
We run across tomcat, websphere, BEA and currently are only working in websphere. Others to follow. On 10/16/07, hanasaki jiji <[EMAIL PROTECTED]> wrote: > I should have mentioned we are using websphere ... looks like there is > no support > http://forums.yourkit.com/view

Re: How to? debug large session size? drill down and tools / over 400K is too be for replication

2007-10-16 Thread hanasaki jiji
here > > > -Mensagem original- > De: hanasaki jiji [mailto:[EMAIL PROTECTED] > Enviada em: terça-feira, 16 de outubro de 2007 15:53 > Para: users@tomcat.apache.org > Assunto: How to? debug large session size? drill down and tools / over 400K > is too be for repli

How to? debug large session size? drill down and tools / over 400K is too be for replication

2007-10-16 Thread hanasaki jiji
users@tomcat.apache.org We have an application that has a pretty large session size (> 400K). This is causing issues for scalability and makes session replication for fail over quite impractical. What can be used to drill down live and generate a runtime report (perhaps a graph too) showing what

Re: Testing Tomcat - HELP

2007-08-09 Thread hanasaki
telnet to the port its running on or hit it with the browser. Dean Lonsdale wrote: > > Does anyone know how to verify whether Tomcat is operational using a > browser or other wise !!! > > Help appreciated ...many thanks > > > > > Regards / Cordialement / Mit freundlichen Grüßen > > -- > IB

Re: Recovery from OutOfMemoryError?

2007-07-31 Thread hanasaki
1. you may have a memory leak in your code... do some profiling 2. check out abandoned sessions that are "due to expire" perhaps you can lower the session timeout and that will make some memory available earlier. Craig Berry wrote: > Our Tomcat-based app suffers from occasional OutOfMemoryErrors.

Re: kerberos,JAAS, and container managed security

2007-07-28 Thread hanasaki
Take a look at CAS. It has the added value of: - keeps passwords away from your container and its applications - gives SSO ! - integrates well behind apache for a balancer and other mod_* - works with other languages - existing application integration I have used it with success and replaced an e

Re: Help required setting up smtp server

2007-07-17 Thread hanasaki
Your configuration will look for the hostname "mailhost" in the dns domain of the same machine that the server runs on... If this is a unix box with a /etc/hosts of: 127.0.0.1 localhost mailhost it would explain this behavor. Try changing the "mailhost" in the config file to "smtpabcd" an

Re: How to replace jar which was already loaded?

2007-07-17 Thread hanasaki
If you go this way... remember the following ClassLoader cl1 = new URLClassLoader(urls); Class cls1 = cl1.loadClass("classPath"); ClassLoader cl2 = new URLClassLoader(urls); Class cls2 = cl2.loadClass("classPath"); cls1 == cls2 <=== FALSE not TRUE as you might expect Johnny Kewl wrote: > > Thi

Re: Cannot send mail from servlet

2007-07-17 Thread hanasaki
Running in tomcat 6.x? Any chance there is a jndi and smtp config setup in tomcat that is messing with this? Post the code for the sendMail method and any custom code it calls. review your web.xml and tomcat configurations for smtp related stuff. David Smith wrote: > Seems to me the important p

libs in a maven repository for embedded?

2007-07-17 Thread hanasaki
I looked around but have not found any maven repository that has the tomcat jars / build that can be used when building a java application that embeds tomcat... Anything out there?> - To start a new topic, e-mail: users@tomcat.apa

Re: Read and write inside WEB-INF

2007-07-14 Thread hanasaki
packed war file it will return null. > > --David > > > hanasaki wrote: >> Hmmm does this work for packed WAR's or only Unpacked... ? >> >> Jacob Rhoden wrote: >> >>> Much Appreciated! Thanks. >>> >>> Edoardo Panfili wrote

Re: Read and write inside WEB-INF

2007-07-14 Thread hanasaki
Hmmm does this work for packed WAR's or only Unpacked... ? Jacob Rhoden wrote: > Much Appreciated! Thanks. > > Edoardo Panfili wrote: >> Jacob Rhoden ha scritto: >>> what is the correct way to find the location of your WEB-INF >>> directory (or your apps directory for that matter). >>> >> try wi

Re: Tomcat Version problem

2007-07-05 Thread hanasaki
What do you mean "v r"? Please do not post shortcut English ;) When you get things working... Please post the solution to the problem so we can all learn. Girish Havaldar wrote: > Thnks for the resplone, now v r doing that only > > GS. > > On 06/07/07, hanasaki

Re: Tomcat Version problem

2007-07-05 Thread hanasaki
Did you per-complile the JPS's? - don't - in this case Ensure the jsp version you coded against is the same as that supported by the hosting company. Jon Wingfield wrote: > You are using jdk1.5 features (autoboxing, for example ) in your JSP pages. > Early versions of the 5.5 tree bundled a jsp co

Re: ROOT.xml fails to install context (tomcat 6.0.13)

2007-06-11 Thread hanasaki
oops.. had the wrong server version (it is 6.0.13) not .14 hanasaki wrote: > I have an unpacked WAR at the "docBase" in the below ROOT.xml > ROOT.xml is in: > ./conf/Catalina/localhost/ROOT.xml > > ** The issue is that "host" doesnt seem to be

ROOT.xml fails to install context (tomcat 6.0.14)

2007-06-11 Thread hanasaki
I have an unpacked WAR at the "docBase" in the below ROOT.xml ROOT.xml is in: ./conf/Catalina/localhost/ROOT.xml ** The issue is that "host" doesnt seem to be found... tomcat links like http://localhost:8080/examples work fine. == telnet to the server / by hand == telnet localhost 8080

controling resource and cpu hogging

2006-12-30 Thread hanasaki
We have several domains that each have several WAR files deployed. How can misbehaving deployed WAR's be identified and 1. killed off (maybe an issue if they hold onto threads or instance references when undeploy or stop is called) 2. be controlled (ie: throttle/cap a specific domain and/or WAR de

Last-Modified not updated when file is changed / touched.

2006-01-11 Thread hanasaki
Running tomcat 5.5.14 on Linux with: java -version java version "1.5.0_06" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05) Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode) Files are coming back with unchanged "last modified" dates even after editing or a unix "tou

how are relative pages/images retrieved?

2005-12-19 Thread hanasaki
How are relative resources found? ex: the page http://localhost/a/b/c has an href to ../images/image1.gif how is it that the websever knows to convert this into http://localhost/a/b/images.gif This seems to imply some sort of state in the server but this cannot be

servlet.jar - where is it from?

2005-12-19 Thread hanasaki
Hello, I notice Sun no longer has the Servlet.jar available for download off the java.sun.com website. Where does the Tomcat 5 Servlet.jar come from? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [