RE: Tomcat 3 will not load on Windows 98

2004-07-16 Thread David . Pawson
-Original Message- From: Caldarale, Charles R 1.3.1 JDK: This release of the J2EE SDK is available for the following platforms: You don't want to download the Sun J2EE package - Tomcat supplies its own, and having both on your system at the

Where is the Real JAVAHOME?

2004-07-16 Thread Aris Javier
Hello! I'm confused... I installed j2sdk1.4.1 in my D drive.. D:\j2sdk1.4.1 But when i take a look at my C drive under program files.. there is C:\program files\java\j2re1.4.1 Both includes \lib and \bin folders... Which of those two directories is the JAVAHOME? Thanks!

Vedr.: Where is the Real JAVAHOME?

2004-07-16 Thread Thomas Nybro Bolding
j2sdk is the development kit and contains a _private_ jre whereas the _public_ jre is installed in the default folder. JAVAHOME should point to j2sdk. /Thomas Aris Javier [EMAIL PROTECTED] 16-07-2004 09:58 Besvar venligst til Tomcat Users List Til:Tomcat Users List [EMAIL

Re: Where is the Real JAVAHOME?

2004-07-16 Thread Thilo Krawietz
Hello Aris, j2sdk is the full featured Java Development Kit including javac compiler, java interpreter, jdb Debugger , rmic and so on. j2re is the so called Java run time environment. This is like a somewhat slim JDK, which also provides you the Java interpreter, but NOT the compiler. With

Re: Where is the Real JAVAHOME?

2004-07-16 Thread Thilo Krawietz
sorry, i made an error: of course you may compile source only with the j2sdk NOT with the jre! s*** happens :-) Hello! I'm confused... I installed j2sdk1.4.1 in my D drive.. D:\j2sdk1.4.1 But when i take a look at my C drive under program files.. there is C:\program files\java\j2re1.4.1 Both

Re: Wildcard virtual hosts help

2004-07-16 Thread Ronald Klop
You can use a default host if I remember correct. All hosts which don't have there own mapping will be handled by the default host. Ronald. On Thu Jul 15 22:11:03 CEST 2004 Cott Lang [EMAIL PROTECTED] wrote: I have a specific problem that requires that I map hundreds of thousands (yes, hundreds

Re: Problems while deploying

2004-07-16 Thread Peter Huesser
It's not your web.xml that's the problem, nor the JAVA_HOME environment variable. What are the contents of your WAR? Specifically, is there a context.xml file in the META-INF directory? How are you deploying? Thank's for your hint. Indeed I made a mistake in the deploying process. I deploy

RE: session timeout: web.xml and setMaxInactiveInterval(int)

2004-07-16 Thread Dale, Matt
Your assumption is incorrect. When the session is created it will follow the value set in your web.xml but in this case, after session creation you modify its timeout attribute to be higher. This will only apply to sessions that go through this servlet, obviously. Ta Matt -Original

Re: Is anyone successfully using DBCP with mySQL?

2004-07-16 Thread Frank Burns
David, That works perfectly! Thank you VERY much for the time and trouble you took to help. Very much appreciated. Best wishes, Frank. - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, July 16, 2004 3:28 AM Subject: Re: Is

Should I use jikes with tomcat-5.0.27?

2004-07-16 Thread Zsolt Koppany
Hi, what are the experiences with jikes? Should I use it? What is the fastest compiler? During development we modify a lot JSP files. Zsolt - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

RE: Where is the Real JAVAHOME?

2004-07-16 Thread Sternbergh, Cornell
So, presumably, in the general case, JAVAHOME would be d:\j2sdk1.4.1, because TomCat would find the compiler needed for JSPs. In the particular case of an installation that was already compiled, either j2sdk or j2re would work. And just to add to it, consider what happens when you upgrade.

Re: Is anyone successfully using DBCP with mySQL?

2004-07-16 Thread David Smith
No problem. Glad to hear you got it working! --David Frank Burns wrote: David, That works perfectly! Thank you VERY much for the time and trouble you took to help. Very much appreciated. Best wishes, Frank. - Original Message - From: David Smith [EMAIL PROTECTED] To: Tomcat Users List

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

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

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

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

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 My

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

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

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

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

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

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 using

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 at the

/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: 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. Application

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: /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

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

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: 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

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

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

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: 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

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

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

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.

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 attr

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 in

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 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 :

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]

Getting https port number within servlet - anybody knows ?

2004-07-16 Thread Tomasz Kuczyski
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

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

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

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

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

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

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

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

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

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

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:

Re: Tomcat and PHP

2004-07-16 Thread Tim Funk
http://marc.theaimsgroup.com/?l=tomcat-userm=108481556529975w=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: 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

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: 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 --

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

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

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

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

Re: Precompiling JSP How To

2004-07-16 Thread Tim Funk
Use this in your build.xml ... target name=jsp-compile depends=compile description=prcompile the jsps !-- declare JspC task -- taskdef classname=org.apache.jasper.JspC name=jasper2 classpath refid=classpath/ /taskdef !-- declare and make scratch dirs for the java files and

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 ... target name=jsp-compile depends=compile description=prcompile the jsps !-- declare

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

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

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

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

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

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

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 taskdef What could be wrong? Evgeny --- Tim Funk [EMAIL PROTECTED] wrote: Use this in your build.xml ... target name=jsp-compile depends=compile description=prcompile the

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 taskdef What could be wrong? Evgeny ---

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: 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: 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/ + :

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

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

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

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

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

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: inline

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

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

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

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

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] Sent:

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

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 ?

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

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

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

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]

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

RE: Tomcat Goes Its Own Way

2004-07-16 Thread Shapira, Yoav
Hi, Under the examples directories, in the WEB-INF/classes tree. sigh / 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

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 distributable/ inside your webapp tags in the web.xml Ta Matt -Original Message- From: Roland

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]

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: 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

  1   2   >