Re: Precompiling JSP How To

2004-07-16 Thread Andre Legendre
Hi Tim Thank you for your answer. It is Ok now. Have nice time Andre Tim Funk wrote: In the jasper2 task, the uriroot="${build.dir}" is where the root of the web app is located. So you build.xml can be one place, the webapp root can be at another pllace, and the outputfiles from jspc (and compil

Re: Wildcard virtual hosts help

2004-07-16 Thread Cott Lang
I can't see how that would work (and it doesn't seem to), because while Apache points at the right app directory, any request coming into Tomcat that doesn't match an explicit host name goes to the default host, and thus to a different app ... i.e., I need to duplicate a config I have in Resin tha

Re: Precompiling JSP How To

2004-07-16 Thread Tim Funk
In the jasper2 task, the uriroot="${build.dir}" is where the root of the web app is located. So you build.xml can be one place, the webapp root can be at another pllace, and the outputfiles from jspc (and compiled classes) can each be their own subdirectories. -Tim Andre Legendre wrote: Hi I t

Tomcat 5's balancer

2004-07-16 Thread Ben Zhou
Hi, Does any one know if the Tomcat 5's balancer can forward the user request (without any lost, such as session, request value, etc) dynamically to another server? Thanks, Ben

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Michael Currie
I didn't have any problem with Tomcat 5.0.24 either with Apache2/mod_jk2 or directly to Tomcat5. The header names were transformed to lower case so, it looks like something is happening to them. Wish I could be of more help. Mike Currie Senior Web Developer New Century Mortgage Direct 949 743

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Thomas Bayer
Hi, We programmed it to send the Accept-Encoding header and we used a monitor to look at the headers. The monitor always showed the right headers. But, at the servlet the header was replaced by a string of dashes. We even debugged a servlet filter and the Coyote connector. Perhaps the Accept-Encodi

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Michael Currie
what I would do is user FireFox and download the Live HTTP Headers plugin and make sure it's being sent. The URL Connections won't send it unless you program it to. Mike Currie Senior Web Developer New Century Mortgage Direct 949 743 7037 Mobile 949 279 4358 Fax 866 281 0360 > This electronic m

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Thomas Bayer
Hi, We have used IE, Firefox, URL connections and TCP monitor. We also tried different http headers using http 1.0 and 1.1 but it was always the same. Thomas > -Original Message- > From: Michael Currie [mailto:[EMAIL PROTECTED] > Sent: Friday, July 16, 2004 6:09 PM > To: Tomcat Users Li

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Michael Currie
What are you using to access the page?? Internet Explorer, Mozilla, Firefox?? Mike Currie Senior Web Developer New Century Mortgage Direct 949 743 7037 Mobile 949 279 4358 Fax 866 281 0360 > This electronic message transmission contains information from New Century which may > be confidential o

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Thomas Bayer
Hi, I have done this and I get every header but the "Accept-Encoding" header. When I print out the names of all the headers, I get all the header names but instead of "Accept-Encoding" I get: Content-Type --- Pragma ... I tried Tomcat 5.0.25, Tomcat 4.0.6 and Jetty 4.2.2 and it was al

RE: Precompiling JSP How To

2004-07-16 Thread Yansheng Lin
You can try to open up all the jsp pages one-by-one. That way all the pages get complied:). Job security. -Y -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 10:34 To: Tomcat Users List Subject: RE: Precompiling JSP How To You can't. You need use Ant

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Yes.I moved mod_jk.so to that directory and it said mod_jk.so compiled correctly. -Original Message- From: Mike Jackson [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 3:27 PM To: 'Tomcat Users List' Subject: RE: Apache 1.3 not loading Mod_Jk.so Did you move the mod_jk.so file int

RE: JSPs - Permanent Generation

2004-07-16 Thread Dale, Matt
Thanks for the explanation, i don't think it helped my problem but it always helps to understand tomcat a bit better. Using jvmstat I observed that the permanent generation filled up to its maximum then Out of Memory errors were experienced along with intensive garbage collection. I expect our

Re: Tomcat Goes Its Own Way

2004-07-16 Thread Jason Dusek
The file that I am trying to modify is: /usr/local/jakarta-tomcat5.0/webapps/jsp-examples/jsp2/jspx/basic.jspx Where exactly is its class going to be found? I tried poking around in a bunch of 'examples' directories in a bunch of 'WEB-INF/classes' directories under the webapps tree - but all I

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Mike Jackson
Did you move the mod_jk.so file into $APACHE_HOME/libexec? Did the compile work properly? Are you sure that the mod_jk.so is really the apache module and not something else (there's a way to determine this but I can't remember how)? --mikej -=- mike jackson [EMAIL PROTECTED] > -Origina

RE: cluster didn't replicat sessions

2004-07-16 Thread Dale, Matt
Hi, Have you set the distributable tag in your context's web.xml? If so, please post the catalina.out of both so that I can see that the tomcats have joined the cluster. If not put inside your webapp tags in the web.xml Ta Matt -Original Message- From: Roland Mieslinger [mailto:[EMA

RE: Tomcat Goes Its Own Way

2004-07-16 Thread Shapira, Yoav
Hi, Under the examples directories, in the WEB-INF/classes tree. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Jason Dusek [mailto:[EMAIL PROTECTED] >Sent: Friday, July 16, 2004 4:10 PM >To: Tomcat Users List >Subject: Re: Tomcat Goes Its Own Way > >Where doe

Re: Tomcat Goes Its Own Way

2004-07-16 Thread Jason Dusek
Where does Tomcat keep these precompiled class files? - Jason Shapira, Yoav wrote: Hi, The examples are pre-compiled, and tomcat keeps the class files. Instead of modifying the existing ones, copy the file you want into a new name file and then modify it. Yoav Shapira Millennium Research Informatic

RE: How to access the Accept-Encoding header?

2004-07-16 Thread Shapira, Yoav
Hi, Use a construct like: Enumeration e = ((HttpServletRequest)request).getHeaders("Accept-Encoding"); You can use the CompressionFilter that ships with tomcat's examples. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Thomas Bayer [mailto:[EMAIL PROTECTED] >

How to access the Accept-Encoding header?

2004-07-16 Thread Thomas Bayer
Hi, I want to use gzip compression. In order to do this the connector, a filter or a servlet have to access the Accept-Encoding HTTP header field. But the accept encoding is not accessible. Instead, there is a header like: ---= --- The dashes correspondent to characters in the header.

Re: Re: Problem with startup script for tomcat in linux

2004-07-16 Thread Kamaleshwaran Sivalingam
Hi david, Thanks a lot. I really appreciate that... I never noticed thatthat was worst silly mistake that I have ever doneIt works fine now. Thanks for notifying me... kamaleshwaran sivalingam On Sat, 17 Jul 2004 David Smith wrote : >Typo in your script. the JAVA_HOME line

cluster didn't replicat sessions

2004-07-16 Thread Roland Mieslinger
Hi, we are running tomcat 5.0.27 on two servers ( Solaris 8, JDK 1.4.2_02 ), with apache and AJP connector in a cluster configuration. Loadbalancing is done by an external HW device. My problem is, that sessions are not replicated between the nodes. This is my cluster config ( most taken from s

Re: Precompiling JSP How To

2004-07-16 Thread Andre Legendre
Hi I tried to use this build.xml. It help me alot but I still have some difficulties. My build.xml is use to compile many other elements. Because of that build.xml is not located in the directory where are the jsp. How can I declare the directory where are located the jsp files to translate ? Be

Re: Problem with startup script for tomcat in linux

2004-07-16 Thread David Smith
Typo in your script. the JAVA_HOME line should read: JAVA_HOME=/usr/java/j2sdk1.4.1_02 --David Kamaleshwaran Sivalingam wrote: Hi all, I have a problem using startup script for tomcat in linux. It actually starts up when booting up. but then, it says " [Failed] " and the reason is "J

RE: Tomcat Goes Its Own Way

2004-07-16 Thread Shapira, Yoav
Hi, The examples are pre-compiled, and tomcat keeps the class files. Instead of modifying the existing ones, copy the file you want into a new name file and then modify it. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Jason Dusek [mailto:[EMAIL PROTECTED] >Sen

RE: Connection pool detecting bad connection

2004-07-16 Thread Holly, Michael
Configure your connection pool to use the 'Test On Borrow' feature. This will send a small query out to make user the connection is available before it uses the connection for the larger query. Your query could be like "SELECT 'test' from dual" if you are on Oracle. Hope this helps Michael

Tomcat Goes Its Own Way

2004-07-16 Thread Jason Dusek
I'm having some weird troubles with Tomcat - I'm new to JSP so I was hoping that someone could explain to me what is going on. If I go into the jsp examples and modify the .jspx files, my changes have no effect on how they are executed! I can even delete them, it doesn't matter - they run just

Problem with startup script for tomcat in linux

2004-07-16 Thread Kamaleshwaran Sivalingam
Hi all,           I have a problem  using startup script for tomcat in linux.  It actually starts up when booting up. but then, it says " [Failed]  " and the reason is "JAVA_HOME variable not defined correctly. This environment variable is  neccesary for running this program. " But I have de

Connection pool detecting bad connection

2004-07-16 Thread Vy Ho
I am sure people with DBCP background would know about this. My question is what is the generic/common/standward JDBC way of check a connection to see if it's a good connection or not. Check thing like: con.isClosed() works in some case, and does not in another case. Would retriveing the metad

problem with tomcat startup script in linux

2004-07-16 Thread Kamaleshwaran Sivalingam
Content-type: multipart/alternative; boundary="Next_1090005099---0-203.199.83.148-27860" This is a multipart mime message --Next_1090005099---0-203.199.83.148-27860 Content-type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inlin

Fwd: org.apache.jasper.JasperException: Unable to compile class for JSP

2004-07-16 Thread Vladimer Shioshvili
I am trying to set up Tomcat 5.0.27 for my coworker. I mean we already installed jdk 1.4.2 and tomcat 5.0.27. Examples jsp pages work fine, but when trying to view the jsp pages in the application i put in (Mondrian) i get the org.apache.jasper.JasperException: Unable to compile class for JSP

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Line 202 is where I reference the mod_jk.so LoadModule jk_module libexec/mod_jk.so -Original Message- From: Anup Ray, Unix Systems Administrator [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 1:31 PM To: Tomcat Users List Subject: RE: Apache 1.3 not loading Mod_Jk.so W

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Anup Ray, Unix Systems Administrator
What is there in line 202 of httpd.conf -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 2:26 PM To: [EMAIL PROTECTED] Subject: RE: Apache 1.3 not loading Mod_Jk.so Anyone have any ideas on this ? -Original Message- From: [EMAIL P

RE: Overlapping security-constraint definitions?

2004-07-16 Thread Craig Berry
That makes sense. Unfortunately. :) We'll go with explicit listing of the more-restricted URLs. Thanks for the quick and thorough reply! -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of Bill Barker Sent: Thursday, July 15, 2004 7:59 PM To: [EMAIL PROTECTED] Subject:

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Anyone have any ideas on this ? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 4:09 PM To: [EMAIL PROTECTED] Subject: Apache 1.3 not loading Mod_Jk.so All, If anyone can help me I would be forever grateful, I have spent hours on

Re: File.mkdirs() don't work if started with jsvc

2004-07-16 Thread Horacio de Oro
QM wrote: On Fri, Jul 16, 2004 at 02:45:27PM -0300, Horacio de Oro wrote: : I was trying File.mkdirs() on Tomcat 5.0.25 on Debian Woody, and I can : say File.mkdirs() don't work if Tomcat is started with jsvc. Step 1: perms issue? I'm sure it isn't a permissions problem... All the users have writ

Re: File.mkdirs() don't work if started with jsvc

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 02:45:27PM -0300, Horacio de Oro wrote: : I was trying File.mkdirs() on Tomcat 5.0.25 on Debian Woody, and I can : say File.mkdirs() don't work if Tomcat is started with jsvc. Step 1: perms issue? : String fileName = "/tmp/test/" + : System.cu

Re: File.mkdirs() don't work if started with jsvc

2004-07-16 Thread Horacio de Oro
Hi again! I was trying File.mkdirs() on Tomcat 5.0.25 on Debian Woody, and I can say File.mkdirs() don't work if Tomcat is started with jsvc. (I've to say that this happens ONLY on Debian Woody... Debian Sarge and Debian Sid works ok). I've made a simple servlet (since Tomcat can't compile JSP):

RE: relogin question

2004-07-16 Thread Robert Harper
The problem is that Tomcat does not know that the user has hit the "back" button. You may want to add some script to the page to invalidate the context at the user site or send a message to your servlet to invalidate the context when the user goes back a page. Robert S. Harper 801.265.8800 ex. 255

Re: Precompiling JSP How To

2004-07-16 Thread Tim Funk
You need common/lib/jasper-compiler.jar in your classpath. [And probably a couple of other files in common/lib] -Tim Evgeny Gesin wrote: Hi, when I run that code I get this error "No public no-arg constructor in class org.apache.jasper.JspC", probably in "" What could be wrong? Evgeny --- Tim Fu

Re: Precompiling JSP How To

2004-07-16 Thread Evgeny Gesin
Hi, when I run that code I get this error "No public no-arg constructor in class org.apache.jasper.JspC", probably in "" What could be wrong? Evgeny --- Tim Funk <[EMAIL PROTECTED]> wrote: > Use this in your build.xml ... > > > description="prcompile the jsps"> > > name="jasper2"

Re: User IP address

2004-07-16 Thread Emerson Cargnin
if the users are behind a proxy use the following approach: String endIp = req.getRemoteAddr(); String endIpfoward = req.getHeader("X-Forwarded-For"); //the user is behind a proxy if (endIpfoward != null) { endIp = endIpfoward; } so you will get the real ip address anyway, even if it's behi

RE: relogin question

2004-07-16 Thread Dale, Matt
There is no way for tomcat to do this as its all at the client end. But (I think) you can use javascript to capture the event of moving away from your page and redirect to a page which invalidates your session. I`m sure this has been asked before so searching the archives might yield some resul

RE: session listener not listening

2004-07-16 Thread Stephen Charles Huey
One other thing: most of our web app's Java classes are put into a single JAR file in JBuilder that we then dump into Tomcat's common\lib directory. However, we have to put our servlets individually into Tomcat's common\classes directory. My session listener class gets compiled into the JAR file

relogin question

2004-07-16 Thread Daxin Zuo
I have a relogin problem. 1) I am on the page P, 2) I click on the Home button of the browser, 3) and then I click back button on the browser. The page P is displayed again. But at 3) we intend that the application asks for relogin. So after 2), the session should be expired. Does Tomcat have a n

RE: Tomcat and PHP

2004-07-16 Thread Patrick Willart
The WIKI page is nice and all, but is geared for compiling PHP yourself. What I would like to know is how to set it up using a binary distribution. I've tried fiddling around a little, and did get it to work, but it would crash on me after every page request. It did get the PHP out put though

RE: session listener not listening

2004-07-16 Thread Stephen Charles Huey
I'm trying to add this session listener to a production site that often has over 2,000 concurrent users (according to the Tomcat manager app). As far as I can tell, a session is created as soon as you log in because the very first JSP is accessing a bunch of session beans. However, my listener do

RE: Precompiling JSP How To

2004-07-16 Thread Hofmann, Benjamin
Thanks! -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 11:37 AM To: Tomcat Users List Subject: Re: Precompiling JSP How To Use this in your build.xml ...

Re: Precompiling JSP How To

2004-07-16 Thread Tim Funk
Use this in your build.xml ... -Tim Hofmann, Benjamin wrote: How do I set up my Tomcat 5 to precompile all of my JSP files? -

RE: Precompiling JSP How To

2004-07-16 Thread Hofmann, Benjamin
OK. Thanks. -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 11:34 AM To: Tomcat Users List Subject: RE: Precompiling JSP How To You can't. You need use Ant to do this. Ta Matt -Original Message- From: Hofmann, Benjamin [mailto:[EMAIL P

mod_jk2 and firewall

2004-07-16 Thread Michael Currie
I am running apache2 with mod_jk2 and Tomcat5. Apache2 and Tomcat5 reside on different servers with a firewall between them. My network admins have enforced a one hour inactivity timeout on open tcp connections. What happens is during the day things are fine but, at night there is very little

RE: Precompiling JSP How To

2004-07-16 Thread Hofmann, Benjamin
I guess I could use Ant if there is no other way but I currently use Oracle's JDeveloper because a couple of my sites use Oracle's 9iAS. -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 11:34 AM To: Tomcat Users List Subject: Re: Precompiling JSP How To O

RE: Precompiling JSP How To

2004-07-16 Thread Dale, Matt
You can't. You need use Ant to do this. Ta Matt -Original Message- From: Hofmann, Benjamin [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 17:30 To: [EMAIL PROTECTED] Subject: Precompiling JSP How To How do I set up my Tomcat 5 to precompile all of my JSP files? Thanks, Ben Any opin

Re: Precompiling JSP How To

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 11:30:01AM -0500, Hofmann, Benjamin wrote: : How do I set up my Tomcat 5 to precompile all of my JSP files? If you use Ant to build your app, you can follow the instructions in the Tomcat docs. -QM -- software -- http://www.brandxdev.net tech news -- http://www.RoarNet

Precompiling JSP How To

2004-07-16 Thread Hofmann, Benjamin
How do I set up my Tomcat 5 to precompile all of my JSP files? Thanks, Ben

Re: JSPs - Permanent Generation

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 11:34:19AM -0400, Tim Funk wrote: : Nope. A new classloader (JasperLoader) is instaniated for every JSP page : loaded. When the JSP is recompiled. A new JasperLoader is created. : JasperLoader should only be loading that single JSP. Once the JSP is : recompiled, the old J

Re: Tomcat and PHP

2004-07-16 Thread Tim Funk
http://marc.theaimsgroup.com/?l=tomcat-user&m=108481556529975&w=2 -Tim Ryan McCain wrote: I have PHP 3.x and Tomcat 4.x installed on a SLES box. What do I need to configure in Tomcat so that it knows what to do w/ .php files? Tomcat is acting as the webserver and not apache.

Re: Tomcat and PHP

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 11:15:58AM -0500, Ryan McCain wrote: : I have PHP 3.x and Tomcat 4.x installed on a SLES box. What do I need : to configure in Tomcat so that it knows what to do w/ .php files? : Tomcat is acting as the webserver and not apache. These instructions imply PHP v4: http://wi

Tomcat and PHP

2004-07-16 Thread Ryan McCain
I have PHP 3.x and Tomcat 4.x installed on a SLES box. What do I need to configure in Tomcat so that it knows what to do w/ .php files? Tomcat is acting as the webserver and not apache. thanks, ryan -- Ryan McCain Northrop Grumman Linux System Administrat

Re: JSPs - Permanent Generation

2004-07-16 Thread Tim Funk
Nope. A new classloader (JasperLoader) is instaniated for every JSP page loaded. When the JSP is recompiled. A new JasperLoader is created. JasperLoader should only be loading that single JSP. Once the JSP is recompiled, the old JasperLoader is deferenced. So unless you have some interesting re

Re: Tomcat 3 will not load on Windows 98

2004-07-16 Thread Donald Brewer
Chuck, Kudos to you, good buddy! And the winning combination is. JDK1.3.1 , J2SE download (ignore that it does not say Windows 98 anywhere, it is running EVERYTHING, and believe me, I checked) Tomcat 4.1.30 After very minor adjustments to the autoexec file, namely; pointing JAVA_HOME at

Tomcat, Eclipse and Log4j

2004-07-16 Thread Bill Harrelson
I'm having trouble with getting Tomcat, Log4j and Eclipse working together. I have two apps, say webapps/webapp1 and webapps/webapp2, and I read all the documentation about keeping contexts separate, so I have my log4j.properties files in the webapp1/WEB-INF/classes folder and the webapp2/WEB-

JK-Connector 2 with IIS and Tomcat on different machines ?

2004-07-16 Thread Bjoern . Andersen
Hello, we ad IIS 5 with JK 1.x running as a frontend against TC 4.x-Cluster. All works well. Now we wanna change to IIS6, JK2 and TC5. In the proof-of-concept, I saw that JK2 needs Tomcat-Path to be configured in the registry. Why that? On our IIS-Machines, there is no Tomcat. It is running on ot

RE: JSPs - Permanent Generation

2004-07-16 Thread Dale, Matt
So it would require a context reload to free up the space used by JSPs as opposed to just replacing all the JSPs? Ta Matt -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 16 July 2004 16:10 To: Tomcat Users List Subject: Re: JSPs - Permanent Generation AFAIK, JSP clas

Re: JSPs - Permanent Generation

2004-07-16 Thread Tim Funk
AFAIK, JSP classes stick around as long as the parent classloader holds onto it. So once the parent classloader is defererenced, all the classes in that classloader can be garbage collected. -Tim Dale, Matt wrote: Hi, I have a question which may be a general java question but it relates to a pr

JSPs - Permanent Generation

2004-07-16 Thread Dale, Matt
Title: JSPs - Permanent Generation Hi, I have a question which may be a general java question but it relates to a problem that we are seeing with a Tomcat application. Do all loaded classes, including JSPs, get loaded into the permanent generation in the heap? And secondly, if these clas

JNI & Tomcat

2004-07-16 Thread Mike Read
Hi I'm trying to call a JNI package from a Tomcat servlet. I thought I had this working but I got in a mess the last couple of days and reinstalled my webapp and it's not behaving as before but I can't find what's different (I must have forgotten something but). The package and shared object

Getting https port number within servlet - anybody knows ?

2004-07-16 Thread Tomasz Kuczyński
Hi, How can I get value of redirectPort attribute of Connector element in servlet/JSP ? I need to make some redirection - change http request in some cases into https request, but I run HTTP connectors and HTTPS connectors on non standard ports - I wanted to know port number accordingly to settin

RE: How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
It could be peak traffic, which is why I wanted to increase the max memory. I'm going to watch it and see. If memory utilization slowly creeps up, I'll readdress the issue and probably use a profiler. Thanks for the suggestion. Ben -Original Message- From: QM [mailto:[EMAIL PROTECTED]

Re: Updating shared classes in 24/7 server

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 11:26:34AM -0300, Insyde wrote: : I need update classes that is used by many web applications. The older version : of classes are in /shared directory of Tomcat, but now I dont know how to : update them without Tomcat restart. I can't restart Tomcat because many others : web

Re: How to set JVM Max Memory

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 09:22:29AM -0500, Hofmann, Benjamin wrote: : Has anyone experienced any memory leaks with Tomcat 5? One of my sites : was written by an outside vendor and it acts like it has a memory leak : and I'm not sure if it is the programming or the container. A profiler would tell

RE: Updating shared classes in 24/7 server

2004-07-16 Thread Shapira, Yoav
Hi, Set up a cluster with transparent failover or schedule down time for your server. Yoav Shapira Millennium Research Informatics >-Original Message- >From: Insyde [mailto:[EMAIL PROTECTED] >Sent: Friday, July 16, 2004 10:27 AM >To: Tomcat Users List >Subject: Updating shared classes i

Re: auto reload a class

2004-07-16 Thread QM
On Fri, Jul 16, 2004 at 07:28:13AM -0500, Vic Cekvenich wrote: : One feature I like in resin is that it reloads a class (for example a : servlet) automaticaly if I change it. : : IS there a way to make tomcat reload any of the classes if they got changed? Search the docs for the "reloadable" att

Updating shared classes in 24/7 server

2004-07-16 Thread Insyde
I need update classes that is used by many web applications. The older version of classes are in /shared directory of Tomcat, but now I dont know how to update them without Tomcat restart. I can't restart Tomcat because many others web applications are used 24 by day. Any help? Thanks. Mauríci

RE: Tomcat 3 will not load on Windows 98

2004-07-16 Thread Caldarale, Charles R
> From: Donald Brewer [mailto:[EMAIL PROTECTED] > Subject: Re: Tomcat 3 will not load on Windows 98 > > Well, i am back at it this morning. As far as I can tell, the > jdk from sun is for developers, the javasoft jre is a public > runtime engine. I don't think there is such a thing as "javasoft"

RE: How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
Thanks! I give that a whirl. Has anyone experienced any memory leaks with Tomcat 5? One of my sites was written by an outside vendor and it acts like it has a memory leak and I'm not sure if it is the programming or the container. -Original Message- From: Daniel J. Obregon [mailto:[EM

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread Nicolas PEREZ
Return Receipt Your RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98 document:

Re: How to set JVM Max Memory

2004-07-16 Thread Daniel J. Obregon
Add one or both of the following to your start up scripts as java command line options: -mx1024M (or -Xmx1024M) to set the max to 1024 Mb -ms256M (or -Xms256M) to set the min to 256 Mb in my startup script I use this line: setenv JAVA_OPTS "-ms256M -mx1024M -Djava.awt.headless=true" - Dan Obr

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread Hofmann, Benjamin
I would. I administer 18 websites and some are Tomcat4/Apache1.3, Tomcat4/Apache2.x, and Tomcat5/Apache2.x. I have had really good luck with Apache 2.x and the jk2 connector and both Tomcat4 and Tomcat5. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday,

Re: Tomcat 3 will not load on Windows 98

2004-07-16 Thread Donald Brewer
Well, i am back at it this morning. As far as I can tell, the jdk from sun is for developers, the javasoft jre is a public runtime engine. I removed references to the javasoft one from the path to ensure that the only one that Tomcat saw was the JDK environment. A lot of the messages that I receive

How to set JVM Max Memory

2004-07-16 Thread Hofmann, Benjamin
I have several sites running on Tomcat 5.0.19 and I only have one problem. A couple of the sites keep running out of memory during peak traffic times. It looks like the Tomcat server JVM is set to a default of 128M and I would like to increase that. My box has plenty of memory available and I wo

RE: Apache 1.3 not loading Mod_Jk.so

2004-07-16 Thread bralston
Major problems.. can't get this to work. Do I need to switch apache versions??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, July 15, 2004 4:09 PM To: [EMAIL PROTECTED] Subject: Apache 1.3 not loading Mod_Jk.so All, If anyone can help me I

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98 > > So its primarily a classpath issue? I.e. its not a case of *don't > use J2EE* and ensure your classpath order is right. Well, you are using J2EE, just not the Sun

Re: Tomcat non-sticky load balancing

2004-07-16 Thread Filip Hanik - Dev
yes, the request is maintained, and sorry to say, session replication will not help you, cause right now we are not transferring notes (the state of login) across. My suggestion would be to use basic authentication instead if your requests jump from server to server. Filip - Original Message

RE: /commons vs /shared

2004-07-16 Thread Lee, Paul NYC
Check out this link: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/class-loader-howto.html -Original Message- From: Insyde [mailto:[EMAIL PROTECTED] Sent: Friday, July 16, 2004 9:52 AM To: Tomcat Users List Subject: /commons vs /shared What is the difference between /commons and /shar

RE: J2EE classpath issue, was Tomcat 3 will not load on Windows 98

2004-07-16 Thread David . Pawson
Thanks Charles. > You don't want to download the Sun J2EE package - Tomcat > supplies its own, and having both on your system at the > same time can lead to some "interesting" events. > > Is this bad planning, or something a user should know about and work

Re: Session Sharingand Caching Problem

2004-07-16 Thread Tim Funk
I think your using Orion, not tomcat. http://www.orionserver.com/ -Tim Selva Kumar B. wrote: Hi , We are having the following architecture being used in our web based application HTML/JSP ---> Main Servlet > processor class > Session Bean > DAO layer > Oracle 8i Database. Applica

/commons vs /shared

2004-07-16 Thread Insyde
What is the difference between /commons and /shared directories of Tomcat? Is possible to update classes in these directories and get this update in my web applications without Tomcat restart? (Perhaps with web application restart/reload) Thanks Maurício Kanada

RE: Tomcat 3 will not load on Windows 98

2004-07-16 Thread Caldarale, Charles R
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Subject: RE: Tomcat 3 will not load on Windows 98 > > -Original Message- > From: Caldarale, Charles R > > You don't want to download the Sun J2EE package - Tomcat > supplies its own, and having both on your system

Session Sharingand Caching Problem

2004-07-16 Thread Selva Kumar B.
Hi , We are having the following architecture being used in our web based application HTML/JSP ---> Main Servlet > processor class > Session Bean > DAO layer > Oracle 8i Database. Application Server : Oracle 9i Application Server. OC4J being the container. We start the server u

Tomcat and windows 2003 cert server

2004-07-16 Thread Michael Rockey
I am trying to add SSL to a windows 2000 server running Tomcat. I use keytool to create the keystone file but I can't create one that my windows 2003 cert server will except has anyone had any sasses with this thanks - To unsu

Tomcat non-sticky load balancing

2004-07-16 Thread senthilnathan thiagarajan
Hai, We have an use case where each web request will be served by any one server from a cluster of tomcat servers (non-sticky load balancing). Session replication is not done as we maintain nothing in the session. The following are the steps involved in form-based-login in Tomcat 5.16 Cli

Re: User IP address

2004-07-16 Thread Tim Funk
HttpServletRequest.getRemoteAddr() -Tim Jarl Skogsholm wrote: How do I get the user IP address? I only get the IP of the server. Thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

User IP address

2004-07-16 Thread Jarl Skogsholm
How do I get the user IP address? I only get the IP of the server. Thanks -- They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin (1755) - To unsubs

Re: Wildcard virtual hosts help

2004-07-16 Thread Daniel J. Obregon
What I'm thinking here is using a virtual host within an apache configuration file: *** With apache 2 (not sure if it's in apache 1.3x) you can have virtual hosts defined in separate files and then include them in the main httpd.conf file by saying Include path/to/foo.conf. Apache 1.3 will let yo

RE: session listener not listening

2004-07-16 Thread Shapira, Yoav
Hi, Are you sure that page you are accessing creates a session? ;) Yoav Shapira Millennium Research Informatics >-Original Message- >From: Stephen Charles Huey [mailto:[EMAIL PROTECTED] >Sent: Thursday, July 15, 2004 7:06 PM >To: Tomcat User >Subject: session listener not listening > >M

auto reload a class

2004-07-16 Thread Vic Cekvenich
One feature I like in resin is that it reloads a class (for example a servlet) automaticaly if I change it. IS there a way to make tomcat reload any of the classes if they got changed? tia, .V - To unsubscribe, e-mail: [EMAIL PRO

AW: Logging with mod_jk

2004-07-16 Thread Jens . Mueller
It is on a intranet-maschine, so we disabled the logging from apache, because we need the duration of the request/response and the mod_jk-log give us that information. We want, that the mod_jk-log looks like the apache-log, with the duration as an aditional information. - Jens -Ursprüngliche

Re: Logging with mod_jk

2004-07-16 Thread Tim Funk
The client IP is already known by apache (%a) Or via HttpServletRequest.getRemoteAddr() -Tim [EMAIL PROTECTED] wrote: No hints? -Ursprüngliche Nachricht- Betreff: *** Mail von extern mit internem Absender ***Logging with mod_jk Hello all, is it possible to log the Client-IP with mod_jk on A

RE: Logging with mod_jk

2004-07-16 Thread Jens . Mueller
No hints? -Ursprüngliche Nachricht- Betreff: *** Mail von extern mit internem Absender ***Logging with mod_jk Hello all, is it possible to log the Client-IP with mod_jk on Apache 1.3.x ?? The is nothing about it in the Documentation. I use the JkLogStampFormat-Directive. Greets Jens -

  1   2   >