Re: ThreadLocal relationship to servlet requets and use to store variables

2003-10-29 Thread Hanasaki JiJi
Filip Hanik wrote: yes, each request comes with on its own thread but the proper way of storing stuff for the lifetime of the request, is inside the HttpServletRequest.setAttribute Filip -Original Message- From: Hanasaki JiJi [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 8:05

ThreadLocal relationship to servlet requets and use to store variables

2003-10-29 Thread Hanasaki JiJi
Does each http get/post, that comes in to a jsp/servlet, get its own thread? Can this thread be used to store a hashmap that will be available like a global variable to all instances during the life or the http get/post processing? What cleanup, if any, needs to be done? I am assuming that tom

Re: Clustering Tomcat - Loadbalancing and Failover

2003-10-11 Thread Hanasaki JiJi
MAIL PROTECTED]> Sent: Wednesday, October 08, 2003 11:34 PM Subject: Re: Clustering Tomcat - Loadbalancing and Failover Hanasaki JiJi wrote: Hello, What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over humm fili

Clustering Tomcat - Loadbalancing and Failover

2003-10-08 Thread Hanasaki JiJi
What is available, in Tomcat, or as an add-on, and preferably free/open-source to cluster tomcat for: load balancing fail over how are session states replicated? Also, in general, and a bit off-topic (my apologies), are there any resources for the design, or open source implementation, of lo

Tomcat startup and running as a disconnected process

2003-10-08 Thread Hanasaki JiJi
How does tomcat implement the ability, on Win and Unix, disconnect from its parent process (ie: the process that ran the startup.bat/sh script) -- = = Management is doing things right; leadership is doing the = = right things

servlet sends mail - war works on one host / not another

2003-03-10 Thread Hanasaki JiJi
exception is below.. The identical war works on a differnt box. both are linux w/ java 1.4.1 and tomcat 4.1.18 javax.mail.NoSuchProviderException: smtp LocalMsg[smtp] javax.mail.NoSuchProviderException: javax.mail.Session.getService(Session.java:611) javax.mail.Session.getTransport(Session.java

servlet context.log(.. no longer going to log files

2003-03-07 Thread Hanasaki JiJi
There are servlets that call the ServletContext log method. In the past, these went to the local log files under the tomcat ./log directory Only thing I can find is someone added the following file directly under WEB-INF commons-logging.properties === org.apache.commons

Auto deploy of updated files class/war

2003-03-01 Thread Hanasaki JiJi
Tomcat auto-redeploys/auto-deploys classes/jsp/html very well if they are dropped into the filesystem under the webapp. Is there a way enable tomcat to auto-redeploy a WAR file that has been updated in the webapps? unpackwar = false. thanks -- =

Apache Tomcat/4.1.18-LE-jdk14 - class loader problem with servlets/javamail

2003-02-28 Thread Hanasaki JiJi
I have am deploying a war file with j2ee.jar from j2ee1.3.1 and my servlet cannot find the javamail classes. A small standalone application using the javamail from the same j2ee.jar file works fine. j2ee.jar is in the lib directory. Any thoughts? javax.servlet.ServletException: Servlet exe

Re: war file deploy/redeploy/reload mechanisms?

2003-01-06 Thread Hanasaki JiJi
The "delete the existing dir and restart" is necessary when unpackWARs=true. Is it also required for unpackWARs=false? for false there are no directories. The goal is to hot redeploy just by coping in the new WAR. What is the "gotcha" that you refer to? Paul Campbell wrote: I also delete th

war file deploy/redeploy/reload mechanisms?

2003-01-06 Thread Hanasaki JiJi
Reading the docs, it seems that deploying or redeploying a WAR file should be as dropping the WAR in the right directory or copying a revised WAR over an already deployed WAR. This is not working. Any ideas as to what to check into? unpackWARs = false autoDeploy = true Thank you -- To unsu

Re: Memory Usage and Garbage Collection

2003-01-03 Thread Hanasaki JiJi
The "same servlet" gets called everytime? Isn't this container implementation specific (Although functionally it SHOULD appear to be the same servlet)? For example, couldn't a container do pooling or load balancing. Craig R. McClanahan wrote: On Fri, 3 Jan 2003, Brandon Cruz wrote: Date:

Re: intranet application

2002-12-27 Thread Hanasaki JiJi
Tomcat doesnt care if its intranet or internet. It is all TCP/IP to Tomcat. Some comibination of the following separates a internet from intranet: firewall, NAT(Network Address Translation), Proxies ... Tomcat supports CGI and Servlet based applications. I would highly suggest going the serv

How do load a properties file from servlet?

2002-12-19 Thread Hanasaki JiJi
How can a properties file be loaded from /WEB-INF/props/p.properties in an unexpanded WAR from servlet code? Thanks -- To unsubscribe, e-mail: For additional commands, e-mail:

Re: tld locations??? must be directly in WEB-INF - relates to Tomcatxml parser bug

2002-12-06 Thread Hanasaki JiJi
. Thoughts? comments? The file looks ok to me. Thanks. Aleksandr Shneyderman wrote: make sure that /WEB-INF/struts.tld the /WEB-INF/ is important for some reason. it was working in 4.0.4 but gives a problem in 4.1.12 -Original Message- From: Hanasaki JiJi [mailto:[EMAIL PROTECTED

Re: tld locations??? must be directly in WEB-INF

2002-12-06 Thread Hanasaki JiJi
.1.12 -Original Message- From: Hanasaki JiJi [mailto:[EMAIL PROTECTED]] Sent: Friday, December 06, 2002 9:46 AM To: [EMAIL PROTECTED] Subject: tld locations??? must be directly in WEB-INF Am I reading the below error correctly? .tld must be in the WEB-INF dir and not in any subdir of WEB-INF? I

tld locations??? must be directly in WEB-INF

2002-12-06 Thread Hanasaki JiJi
Am I reading the below error correctly? .tld must be in the WEB-INF dir and not in any subdir of WEB-INF? I have put the struts tld's in /WEB-INF/struts/ and specified to find them there in web.xml == 2002-12-05 23:33:41 ContextConfig[/j2eetemplate] Exception processing TLD

tomcat 4.1.12 log of pages hit

2002-12-01 Thread Hanasaki JiJi
I dont seem to find the web hit logs? The ones that can be run through webtrends. Where are they? -- To unsubscribe, e-mail: For additional commands, e-mail:

relocating conf/server.xml

2002-12-01 Thread Hanasaki JiJi
I would like to have the following structure. This way tomcat installations can be replaced and the environment variable will make the installation use the config from standalone directory. Deleting the tomcat install wont delete the configs :) /usr/local/tomcat4.1.12 /usr/data/tomcat/conf

ROOT/ softlinked to another directory fails

2002-11-17 Thread Hanasaki JiJi
For logistical purposes, it is necessary to soft link a directory under ROOT to a directory elsewhere in the filesystem (Running Linux ext3). Tomcat is reporting that the resource is not available when someone hits the page [host]/. What is the reason for this? Any suggestions as to how I can

ln -s synbolic links not followed on unix/linux

2002-11-16 Thread Hanasaki JiJi
Tomcat 4.1.12 seems to be having problems with symbolic links under linux. The below error is reported when trying to access the docs subdirectory that was soft linked to another part of the filesystem. ls docs/* shows the directory contents fine. Is there a way to allow tomcat to traverse the

Calling session beans from tomcat

2002-10-09 Thread Hanasaki JiJi
How can tomcat call a session bean from BEA or iAS on another physical server? -- = http://www.sun.com/service/sunps/jdc/javacenter.pdf= =www.sun.com | www.javasoft.com | http://wwws.sun.com/sunone = =

java -server vs classic and servlet src from jsp compiler errors

2002-10-09 Thread Hanasaki JiJi
Has anyone had errors show up in the Servlet source generated from a JSP under the following? or any combo? - J2SE 1.4.1 - any OS - Tomcat 4.04 or Tomcat 4.1.x Thank you. -- = http://www.sun.co

JSP to Servlet source conversion

2002-10-07 Thread Hanasaki JiJi
What part of Tomcat (most interested in 4.x) does the conversion from jsp to servlet source? Is this code the same code as from the J2EE jar files downloaded from Sun? Are their any difference in this process under classic vs server VM? Thank you -- ==

Re: Servlets not found after upgrade to Tomcat 4.1.12

2002-09-30 Thread Hanasaki JiJi
invoker servlet is no longer available by default in all webapp. Enabling it for all webapps is possible by editing $CATALINA_HOME/conf/web.xml to uncomment the "/servlet/*" servlet-mapping definition. Sexton, George wrote: > Did you read the change log? > > -Original Message---

Tomcat 4.1.12 Servlets stored in JAR files not found????

2002-09-30 Thread Hanasaki JiJi
This is a followup to the servlet not found posting... Does it matter that the servlets are stored in JAR files that are being autodeployed under . lib? The servlets are not in the classes directory. This setup worked fine in the previous tomcat version. Thank you -- To unsubscribe, e-

Servlets not found after upgrade to Tomcat 4.1.12

2002-09-30 Thread Hanasaki JiJi
I have just autodeployed a WAR file that worked fine in Tomcat 4.0.5. Undeer 4.1.12 none of the servlets are being found. Tomcat reports "requested resource not available" Also, under 4.1.12 there is no logs/**access log -- To unsubscribe, e-mail: For additional

Tomcat access to servlet's in JAR that is in WAR file

2002-07-08 Thread Hanasaki JiJi
Is there some way to tell Tomcat how to locate .class and servlet.class files that are in a JAR that is in a WAR? ex: app.war contains lib/servlets.jar Thank you. -- To unsubscribe, e-mail: For additional commands, e-mail: