Which is best practice for stowing objects, request or session context?

2005-06-04 Thread Adrian Beech
Hi all, A work colleague mentioned on Friday it would be better to place objects (beans and the like) which had been created in a servlet into the request context when exposing them to the JSP. To date all the code I've written stores beans and the like in the session context and all has

Re: Workers, workers, how do they work??

2005-03-10 Thread Adrian Robert
On Mar 10, 2005, at 2:29 PM, Klaus-F. Kaal wrote: I am not really sure that I understand the workers right. I interface Apache 2.0.48 with Tomcat 5.0.28 via mod_jk. It looks like you're trying to use a mod_jk2 config file format with mod_jk. You want a file (better called workers.properties)

Re: Working fine on Tomcat 5.0 but not on 5.5.7

2005-03-07 Thread Adrian Robert
On Mar 7, 2005, at 10:21 AM, micky none wrote: Hi Friends, I have this simple method which works fine on my system(Tomcat 5.0,jdk 1.5)..but not on the server(Tomcat 5.5.7,jdk1.5).Can someone explain me why: See the thread just before this on JDK1.5 -- Java 1.5 is supported in servlets but not

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Adrian Robert
Understandable. I was a little dismayed to see that what had been more automatic in Tomcat-5.0.xx had become less so in Tomcat-5.5. What I mean is, in Tomcat-5.0.xx, one could add a Logger to the context configuration file, deploy that with the webapp, and dynamically get a log file for

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Adrian Robert
OK, thanks to your vote of confidence in the method, I dug further and discovered that my WEB-INF/classes/log4j.properties was never being found. If I put the log4j.properties into the same jar (in WEB-INF/lib) with the class that was instantiating the Logger, it worked correctly. That's

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-03 Thread Adrian Robert
OK, thanks to your vote of confidence in the method, I dug further and discovered that my WEB-INF/classes/log4j.properties was never being found. If I put the log4j.properties into the same jar (in WEB-INF/lib) with the class that was instantiating the Logger, it worked correctly. That's

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-02 Thread Adrian Robert
On Mar 1, 2005, at 6:45 PM, Remy Maucherat wrote: On Tue, 01 Mar 2005 18:18:49 -0500, Adrian Robert [EMAIL PROTECTED] wrote: However, I can't seem to find the right combination of log4j.properties lines, or maybe I'm trying something impossible. (I can't find good docs on the uses

Re: How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-02 Thread Adrian Robert
On Mar 2, 2005, at 12:25 AM, Jacob Kjome wrote: You first talk about ServletContext.log(), but then talk about log4j loggers in your app. These are two completely separate things. Which were you focusing on? With your setup, it it makes sense that ServletContext.log() messages are going

Re: Migration from Tomcat 4.1 to Tomcat 5.0

2005-03-02 Thread Adrian Robert
On Mar 2, 2005, at 9:39 AM, Kiran Patel wrote: Thank you. I setup an environment variable JAVS_HOME and it is working now. Now, I have another question. How to setup a context? In Tomcat 4.1, I have it in server.xml. What I found from the documentation is that to create a separate file for

How to approximate tomcat-5.0/4.x/3.x logging in 5.5?

2005-03-01 Thread Adrian Robert
I'm having trouble approximating the earlier tomcat per-context Logger functionality using log4j under tomcat-5.5. Basically, I would like to have one file coming out under $CATALINA_BASE/logs/ per web application context. This appears to be no longer possible through

Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
idea what may cause this? Any help appreciated. Thanks, Adrian Wilford (see stack trace below) 14:47:51,278 INFO [TomcatDeployer] deploy, ctxPath=/, warUrl=file:/usr/local/bin/jboss-4.0.0/server/default/tmp/deploy/tmp18955Gtor.ear-contents/Gtor-exp.war/ 14:47:51,811 INFO [Engine

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
org.apache.struts.action.ActionServlet; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.apache.log4j.RollingFileAppender; public class GtorActionServlet extends ActionServlet{ Thanks, Adrian On Monday 21 February 2005 17:15, Michael Greer wrote: Could you post the class

Re: Class GtorActionServlet is not a Servlet

2005-02-21 Thread Adrian Wilford
org.apache.struts.action.ActionServlet; import org.codeMound.kronos.DBConnectionPool; import org.apache.log4j.Logger; import org.apache.log4j.PatternLayout; import org.apache.log4j.RollingFileAppender; public class GtorActionServlet extends ActionServlet implements Servlet { Thanks, Adrian On Monday 21

how do I unsubscribe from this mailing list?

2004-11-01 Thread Adrian Harrison
can anyone please tell me how to? sent an email to this address but still receiving tomcat emails [EMAIL PROTECTED] thanks harry

Does Oracle 9i thin jdbc driver work in Tomcat 5?

2004-10-23 Thread Adrian Harrison
using tomcat 5.0.28, oracle 9.2.1.0 on windows 2000 (sp4) having a nightmare here, upgraded from oracle 8i to 9i, downloaded installed ojdbc14.jar file in Tomcat's common\lib directory. Now all I get when trying to create a connection pool is this exception - 2004-10-22 17:04:22

Urgent attention needed to solve mysterious SocketException error

2004-08-05 Thread Adrian G. Klingel
. Sincerely, Adrian

Re: Tomcat process memory growth

2004-06-30 Thread Adrian Barnett
On Wed, 30 Jun 2004 18:05:01 +0530, Surendra Kumar [EMAIL PROTECTED] wrote: Hi I am using Tomcat 4.1.29 and JDK 1.4.2_04 in my application. The total memory of the process ( VM + Real Memory) keeps on increasing. The heap size of VM is not increasing ( verified by printing the

Tomcat 5.0.16 behind SSL Accelerator - 2nd post

2004-06-22 Thread Adrian Klingel
://mysslaccelertor:port/myapp. Is there a simple configuration change in the server.xml that I can make in order to fix this? Thanks, Adrian Klingel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Tomcat 5.0.16 behind SSL Accelerator - 2nd post

2004-06-22 Thread Adrian Klingel
=app:MyLink href=/myapp/some.jsp/A link using tag/a Filip - Original Message - From: Adrian Klingel [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 8:20 AM Subject: Tomcat 5.0.16 behind SSL Accelerator - 2nd post I searched for this in the archives

Tomcat 5.0.16 behind SSL Accelerator

2004-06-21 Thread Adrian Klingel
://mysslaccelertor:port/myapp. Is there a simple configuration change in the server.xml that I can make in order to fix this? Thanks, Adrian Klingel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat licensing questions

2004-06-21 Thread Adrian Cho
. Is this correct? I have in the past seen other Sun-originated modules in Apache distributions and I'm wondering what the licensing terms of the contribution and subsequent redistribution are. Thanks Adrian Adrian Cho Manager, Intellectual Property IBM Ottawa Lab 2670 Queensview Drive Ottawa, Canada

Matching source for Tomcat binary drops

2004-06-04 Thread Adrian Cho
one package (tomcat-util.jar) seems to have source for most of the classes in the Tomcat source drop but at least one class (ByteChunk) is not there. I'd appreciate any hints as how I can find the exact matching source for what is in the Tomcat 4.1.30 binary drop. Thanks Adrian Adrian Cho

RE: Matching source for Tomcat binary drops

2004-06-04 Thread Adrian Cho
. Adrian Cho Manager, Intellectual Property IBM Ottawa Lab 2670 Queensview Drive Ottawa, Canada K2B 8K1 Phone: (613) 726-5536 Fax: (613) 820 1202 Website: http://www.can.ibm.com/ottawalab/ E-mail: [EMAIL PROTECTED] Shapira, Yoav [EMAIL PROTECTED] 06/04/2004 09:20 AM Please respond to Tomcat Users

RE: Matching source for Tomcat binary drops

2004-06-04 Thread Adrian Cho
else) but there seem to be some specific classes that I am missing and unless I believe there is no need to go to CVS since the source distro contains source code from all relevant CVS modules. Adrian Adrian Cho Manager, Intellectual Property IBM Ottawa Lab 2670 Queensview Drive Ottawa, Canada

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-02 Thread Adrian Barnett
don't know if this would work with mod_jk, but it might be worth a try. Adrian -- f y cn rd ths y cn gt a gd jb rt fpl dgm pvq! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-02 Thread Adrian Barnett
... Adrian -- f y cn rd ths y cn gt a gd jb rt fpl dgm pvq! - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Apache2/Tomcat5/mod_jk2 problems

2004-05-11 Thread Adrian Barnett
), and what the advantages/disadvantages are? 3) Anybody got any other clues as to what could cause a leak like this? (I've searched many tomcat mail archives but found nothing of use) Cheers, Adrian Barnett -- OK, Sam, sighed Frodo, I've changed my mind. You can kill him now

Re: Apache2/Tomcat5/mod_jk2 problems

2004-05-11 Thread Adrian Barnett
on this on the Tomcat site. My suspicion is that it could be your application. Well, that's what I suspected as well, but then discovered that the same thing happens if I repeatedly load the jsp-examples pages that came with tomcat. Memory creeps up, tomcat falls over. Cheers, Adrian -- OK, Sam, sighed Frodo

Tomcat stops loading when I run my servlet with load-on-startup

2004-04-23 Thread Adrian Klingel
I have a servlet which calls a method on itself to poll a directory for XML files. When one is found, another method (read() is called which then creates a SAX parser and attempts to validate the file against an XML schema. Upon calling the parse() method, Tomcat freezes. It doesn't create or

FW: Tomcat stops loading when I run my servlet with load-on-startup

2004-04-23 Thread Adrian Klingel
to finish (which if it's a good poller, it never will)? Thanks, Adrian -Original Message- From: Adrian Klingel [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 6:52 PM To: Adrian Klingel - Exaweb Subject: FW: Tomcat stops loading when I run my servlet with load-on-startup

Re: Tomcat Configuration with Apache Virtual Hosts

2004-04-05 Thread Adrian Lanning
be the root cause of your problem. Make sure you compiled jk2 with jni and that the jni lib (jkjni.so) is in the right location. Maybe you should just try using regular channel sockets rather than unix sockets ( it seems to be defaulting to that anyways but I don't know for sure). hth, Adrian

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Adrian Lanning
This topic doesn't really have anything to do with Tomcat so you might have better luck receiving help on some other mailing list. Anybody know which list he should be posting to? What is the actual problem you are having? Do you execute your prepared statement somewhere? Adrian

Re: Question on debuggin JNDI/prepared statement in a bean

2004-03-26 Thread Adrian Lanning
what you're trying to do? Could you post the parts of your Context regarding the jndi resource you are configuring? Adrian - Original Message - From: Tom K [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:41 AM Subject: RE: Question on debuggin

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Adrian Lanning
tutorials / walkthroughs on such sites. Besides the ads, the only problem might be change control since I'm not sure how often they let authors edit articles. Adrian - Original Message - From: Chong Yu Meng [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Thursday, March 25

Re: [OT] Needed : New home(s) for Tomcat on Linux StepByStep

2004-03-25 Thread Adrian Lanning
-side, I have found their service to be reliable and have my personal website hosted there (that's why I paid the $36). Hope that helps! Adrian - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Configuration Help

2004-03-24 Thread Adrian Lanning
follow these steps then when you have errors you will know exactly which component is causing the errors. As opposed to now when it could be any one of many things. Hope that helps, Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Configuration Help

2004-03-24 Thread Adrian Lanning
guys know about it and maybe it'll end up on the connector page. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/ A how-to down at the bottom of the left menu, for example. Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
. Have you tried getting jk to work? Have you looked at: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/iishowto.html Also try: http://www.onjava.com/pub/a/onjava/2002/12/18/tomcat.html hth, Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED

Re: Login by parameters (no prompts)

2004-03-23 Thread Adrian Lanning
with request.getParameter(...) too). Try JPetStore 3 by Clinton Begin (www.ibatis.com) as a reference if you've never done this before. I haven't tried version 4 yet so don't know if it uses container-based authentication or not. hth, Adrian Lanning - Original Message - From: [EMAIL PROTECTED

Re: Struts 1.1 +Tomcat 4.0.4 -- RequestProcessor - Exception

2004-03-23 Thread Adrian Lanning
Hi, You might have more luck with this in the struts-user mailing list. Are you using a custom request processor? If so did you extend org.apache.struts.action.RequestProcessor or org.apache.struts.tiles.TilesRequestProcessor? Adrian - Original Message - From: Namasivayam, Sudhakar

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
that you've set defaultHost to your IP address? Try setting your engine's defaultHost and your host's name to the domain name: dev.dynamichostings.com Please post your server.xml file. Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: workers.properties and virtual hosts

2004-03-23 Thread Adrian Lanning
JK tut: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk/aphowto.html As staf pointed out you can use the same worker. Use localhost. Adrian - Original Message - From: staf wagemakers [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 9:28 AM Subject: Re

Re: Configuration Help

2004-03-23 Thread Adrian Lanning
of localhost altogether and just set up your domain as a host. We need to set up a control so follow the steps I recommended in my last email and post your results to the list. Also, please post your server.xml file. Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED

Re: Which Engine is Which

2004-03-23 Thread Adrian Lanning
it in the WEB-INF directory of your app. Hope that clears it up. Adrian - Original Message - From: Schalk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, March 23, 2004 10:03 AM Subject: RE: Which Engine is Which Hi there This is probably something I should know

Re: Configuration Help

2004-03-22 Thread Adrian Lanning
Hey Dave, I'm a little fuzzy on my errors. Is 400 from iis or tomcat? Does tomcat work with the urls in standalone mode? Adrian - Original Message - From: LILES, DAVID (CONTRACTOR) [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, March 22, 2004 9:17 AM Subject

Re: Java Mail Real Email

2004-03-19 Thread Adrian Lanning
http://java.sun.com/products/javamail/ javamail-1_3_1.zip - Filesize = 2,270,566 bytes. You'll need activation.jar too. There's a link to it on the above page. Adrian Lanning - Original Message - From: Steve Gums [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday

Re: Java Mail Real Email

2004-03-19 Thread Adrian Lanning
my pleasure although Dave Liles did the actual helping. :-) Adrian - Original Message - From: Steve Gums [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Friday, March 19, 2004 12:34 PM Subject: RE: Java Mail Real Email That did it. Just needed a newer mail.jar

Re: mod_jk or mod_jk2 for production

2004-03-19 Thread Adrian Lanning
performance benefits? hth, Adrian Lanning - Original Message - From: Mike Millson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, March 19, 2004 3:09 PM Subject: mod_jk or mod_jk2 for production Is the statement in the link below on the Tomcat FAQ page regarding

Re: Mod_jk.so on Compaq Tru64

2004-03-18 Thread Adrian Lanning
...? hth, Adrian Lanning - Original Message - From: Sullivan, Patrick [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 18, 2004 2:05 PM Subject: Mod_jk.so on Compaq Tru64 Does any one recognize these? Built: Cannot load /usr/local/stow/apache/lib/mod_jk.so into server

Re: JDBC problems with MySQL

2004-03-17 Thread Adrian Lanning
, but it is working now. Steve Check the archives... Adrian Lanning - Original Message - From: Kumar Abhay-CAK203C [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 1:01 PM Subject: RE: JDBC problems with MySQL Dear Steve, I posted this problem around 3

Re: apache 1.3 tomcat 5.0.19

2004-03-17 Thread Adrian Lanning
Nope, you only need jk or jk2 if you are using another webserver as a front-end to Tomcat. Adrian Lanning - Original Message - From: Galam [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 17, 2004 5:59 PM Subject: RE: apache 1.3 tomcat 5.0.19 Shapira

Re: A plan to access files outside the context/Tomcat?

2004-03-17 Thread Adrian Lanning
a class or two... Actually you might be able to let Tomcat do it for you if you set up a connector to listen on port 80. I've never used Tomcat alone so don't have any experience doing it that way. Adrian Lanning - Original Message - From: Parsons Technical Services [EMAIL PROTECTED

Re: how to use multiple jk2 connectors?

2004-03-17 Thread Adrian Lanning
.properties. This, of course, blows the whole concept of mass virtual hosting out of the water since you have to manually add domains to the workers2 file... Does jk work correctly in this sense, where mappings are relative to the virtual host? If so, i'm switching back... Adrian Lanning

RE: Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2

2004-03-16 Thread Adrian Lanning
/vhosthowto.html for a more in-depth example. hth, Adrian Lanning From: Montz, James C. (James Tower) [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Virtual Hosting with Tomcat 4.1, Apache 2.0, and mod_jk2 Date: Tue, 16 Mar 2004 09:59:38 -0600 Is there any way

Re: Sporadic connection loss between Tomcat and Apache though mod_jk

2004-03-16 Thread Adrian Lanning
on what caused the error (61). if it just can't open the socket (as its reporting) then is it timing out or just getting refused? Could a firewall difference in the new system mess something up? i've reached the extent of my limited knowledge in this area. :-) hth, Adrian Lanning - Original

Re: web.xml Welcome -file and for SSL

2004-03-16 Thread Adrian Lanning
- Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, March 16, 2004 10:16 PM Subject: Re: web.xml Welcome -file and for SSL Hi Forte, I am also having similar type of problem. When the user types http://www.mysite.com it should

Re: web.xml Welcome -file and for SSL

2004-03-16 Thread Adrian Lanning
, It looks like your setup is correct, you just use the welcome file. But you have to have tomcat listen on port 443 rather than 8443. It sounded in your original post like Tomcat was just listening on 8443... hth, Adrian - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List

Re: several virtual hosts -- single application

2004-03-15 Thread Adrian Lanning
that the windows setup seems to create two instances of each app when viewed in the manager. One as / and one as app1 or app2 (depending on which domain you log into). So this should get you started but I wouldn't use the windows setup for production. Linux you should be good to go. HTH, Adrian

Re: Need example configuration for Apache/Tomcat/JK2 and multiple virtual hosts

2004-03-15 Thread Adrian Lanning
-howto.html http://www.thinlizard.com/lizard/modjk2.html http://jakarta.apache.org/tomcat/faq/connectors.html btw, how are you doing the forwarding in apache's httpd.conf file? Using the Location directive? Or are you setting them in worker2.properties? hth, Adrian Lanning - Original Message

Re: help needed building JK2 connector

2004-03-15 Thread Adrian Lanning
first before I could get it to work. I used the tutorial by Pascal Chong (thanks Pascal!): http://cymulacrum.net/writings/tomcat5/book1.html Here's another resource for building jk2: http://www.thinlizard.com/lizard/modjk2.html hth, Adrian Lanning - Original Message - From: Dale, Matt

Passing init params to a listener?

2004-03-14 Thread Adrian Beech
G'day all, Can someone please advise how to pass init params to a listener? For example, in my web.xml file I have the following listener currently defined as:- listener listener-classczone.db.InitConnectionPool/listener-class /listener At the moment all parameters are hard coded in

RE: Passing init params to a listener?

2004-03-14 Thread Adrian Beech
= application.getInitParameter(mySQLServerName); String mySQLPort = application.getInitParameter(mySQLPort); - Original Message - From: Adrian Beech [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 11, 2004 2:07 PM Subject: Passing init params to a listener? G'day all, Can someone

JK2 VirtualHost-relative Location URI mapping

2004-03-14 Thread Adrian Lanning
Hi. Does anyone know how to get Locations in httpd.conf to be relative to the VirtualHost rather than global? I can get JK2 working properly by explicitly putting domains in my workers2.properties file but I'd prefer using mass virtual hosting with jk2 and avoid having to

Re: Why do I need to restart my server

2004-03-10 Thread Adrian Kristiawan
Hi, I'm having the same problem, I want to ask which file should I edit according to the changes below? Thanks All. ---Original Message--- From: Tomcat Users List Date: 03/10/04 19:41:47 To: Tomcat Users List Subject: Re: Why do I need to restart my server This works with

Re: NT Service terminates

2004-03-08 Thread Adrian Kristiawan
I have a similiarproblem with you, I amusing Tomcat 4.1.18, but currently I'm not running it as a Windows Service on Windows 2000 Server, instead I start the Tomcat service byclicking the Start Tomcatshortcut in the windows desktop. Whenever there is a communication link error or the

Where is the source code that processes the server.xml file?

2004-02-21 Thread Adrian Beech
G'day all, Can someone please tell me where I might find the Java code in the Tomcat 5.0 source tree which is responsible for processing the server.xml file? I'm particularly looking for the code that is employed to handle the resource ... elements in the server.xml file. I would greatly

Running a Java Application under Tomcat

2004-02-17 Thread Adrian Klingel
. I understand that this is probably a rookie Tomcat question, but I have been unable to find an answer after scouring the internet. Thank you very much, Adrian Klingel - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

How to configure Tomcat 5.0+ behind a hardware accelerator?

2004-02-10 Thread Adrian Klingel
Can anyone supply me with a link to a document that contains information on how to configure Tomcat 5.0+ to sit behind an SSL accelerator machine? I've been unable to find specifics on the internet, only the fact that people have done it. Thanks very much, Adrian Klingel

Terminating or suspending an application if a on start up servlet throws an exception?

2004-01-18 Thread Adrian Beech
G'day, Is it possible to have Tomcat 4.1.x terminate or suspend access to an application if a servlet which is fired at start up throws an exception? For example, we have two servlets which are loaded on start up. The first one sets up the database connection pool and the second one does various

New MMBase Installation HOWTO

2003-12-15 Thread Adrian Offerman
Hi everyone, I compiled an MMBase Installation HOWTO: http://www.offerman.net/MMBase-Installation-HOWTO/ Any feedback is welcome. I'm not a regular subscriber to this list, so please reply to mmbase-at-offerman-dot-net. Best, Adrian Offerman Abstract This document describes

Setting up a data source resource reference using a JNDI property file

2003-11-12 Thread Adrian Beech
G'day folks, I was wondering if it is possible to set up a data source resource reference using a JNDI property file? If this is possible then does anyone have a sample sort of file that will show how to set up a connection pool to an Oracle DB? I have been successful thus far whilst

Has there been a stable (non beta) rlease of Tomcat 5 yet?

2003-10-29 Thread Adrian Beech
G'day folks, Well the subject line really says it all! Just wondering if there has been a Tomcat 5.0 release yet? So far I've only spotted 5.0.12 beta mentioned on the Apache (Jakarta section) web site. AB - To unsubscribe,

Blowing away objects that have been stored in the session context

2003-10-05 Thread Adrian Beech
G'day all, Does Tomcat release all the resources used by an object if the object has been stored in the session context and a call to session.removeAttribute(objName) is made? I'd like to blow away several beans that are used throughout the processing of a transaction once the confirmation page

Tomcat version 3 certificates?

2003-09-19 Thread Adrian Beech
G'day all, Earlier today we were advised by a bod from another section in our organisation that there is a known compatibility issue with Tomcat and version 3 certificates. Apparently he had been advised of this from someone at Verisign. Does such an issue really exist and if so is it solely

Tomcat 3.2.3 - IIS Problem

2003-08-14 Thread adrian tindeche
. Please contact the server's administrator if the problem persists. Any help to make the application working is highly appreciated. Best Regards, Adrian Tindeche Software Eng. Bucharest, Romania _ The new MSN 8: smart spam protection and 2

JSP seems to be executing twice and we are getting duplicate records in our database

2003-08-04 Thread Adrian Beech
Hi folks, We have a weird problem where a JSP seems to be executing twice and we are getting duplicate records in our database. The data is coming from a HTML form and upon submit a subsequent JSP page is called that performs the SQL insert, etc. We are also getting duplicate log messages so

RE: JSP seems to be executing twice and we are getting duplicaterecords in our database

2003-08-04 Thread Adrian Beech
to inserting a new row. AB -Original Message- From: Bill Lunnon [mailto:[EMAIL PROTECTED] Sent: Monday, 4 August 2003 9:27 PM To: Tomcat Users List; [EMAIL PROTECTED] Subject: RE: JSP seems to be executing twice and we are getting duplicate records in our database Adrian, If you do not want

RE: Servlets JSPs log to different files

2003-08-01 Thread Adrian Beech
G'day, Can anyone expand on this further and explain how to use a Log4j logger reference in beans that do not have a notion of what the underlying servlet context is? The only way I can see how to get this to work is to pass the logger reference as an argument in the bean's constructor. My

Combining Jboss Tomcat?

2003-07-12 Thread Adrian Beech
G'day folks, I currently have an existing Tomcat 4.1.24 and J2SE 1.4.2 set up under Windows XP Pro and all seems to be sweet. Now I'd like to extend things a bit and add Jboss into the loop for EJB support. Are there HOWTO's floating around which describe the installation and configuration of

Resolving scriptlets when using a client side SCRIPT ... tag?

2003-07-05 Thread Adrian Beech
G'day folks, Is it possible to get Tomcat to process a include file and resolve embedded scriptlets if the file is referenced from a client side SCRIPT ... tag? In the two .js files I'm trying to work with there are several scriptlets that need to be resolved by Tomcat prior to sending the

internal server error

2003-03-21 Thread Adrian Epuras
] lb.service() worker failed 12 for ajp13:localhost:8009 [Fri Mar 21 18:44:16 2003] [error] lb.service() unrecoverable error... [Fri Mar 21 18:44:16 2003] [error] mod_jk.handler() Error connecting to tomcat 12 Can anybody tell me what's going on?? Adrian

Using SingleThreadModel under tomcat

2003-01-23 Thread Colquhoun, Adrian
with a explanation of how this performance impact comes about and (in relative terms) the magnitude of this impact versus the potential impact of using synchronisation blocks to ensure thread safe code ? Thanks Adrian === Information

Re: Apache Tomcat Virtual Host

2003-01-20 Thread adrian
Chris Schild wrote: Hi all, I am a newbie to Tomcat. I'm having a problem with configuring the virtual host with Tomcat. The problem is that I cannot get the examples/jsp to work with the virtual host?!? A window pops up asking to open or save the source when I try to execute an example.

Re: mod_jk tomcat/apache connector issue

2003-01-07 Thread adrian
where it was looking. Line 4 is the include for mod_jk.so. Sounds like the same problem. I was wrong about the connector, John said last night the JK2 connectors backwards compatable with jk. John Bullock wrote: Thanks Adrian... I commented out the JK2 connector in server.xml and uncommented the JK

Multiple Virtual hosts, setting DocumentRoot

2003-01-07 Thread adrian
Anyone got an example mod_jk.conf, the one created isn`t working for me. Adrian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Virtual Host + Tomcat + Apache

2003-01-06 Thread Adrian Damn it!
Having trouble with the vhosts with mod_jk. I can`t seem to get http://stafford.com/index.html to show up unless I set the DocumentRoot in the VirtualHost directive to /usr/local/tomcat/webapps/stafford. But when I add an additional Virtual host it pulls the same DocumentRoot. Host

Re: Virtual Host + Tomcat + Apache

2003-01-06 Thread adrian
you would need to set the DocumentRoot in httpd.conf for Apache to find that file. Can you add your second host, start Tomcat, and then post the resulting mod_jk.conf file? That would give us an idea of what Apache is being told. John -Original Message- From: Adrian Damn it! To: [EMAIL

Re: mod_jk tomcat/apache connector issue

2003-01-06 Thread adrian
John Bullock wrote: Haven't seen this anywhere, but when I try to start apache (2.0.43) with the mod_jk module enabled, I get: #apachectl start Syntax error on line 4 of /usr/local/tomcat/conf/auto/mod_jk.conf: Can't locate API module structure `jk_module' in file

Re: mod_jk tomcat/apache connector issue

2003-01-06 Thread adrian
downloaded a pre-compiled binary of mod_jk and followed the configuration steps. Just in case: http://www.johnturner.com/howto/apache2-tomcat4112-sol8-howto.html [ j o h n ] -Original Message- From: adrian [mailto:[EMAIL PROTECTED]] Sent: Monday, January 06, 2003 5:38 PM To: Tomcat Users List

virtual hosts | more

2003-01-03 Thread Adrian
Anybody got a server.xml example with virtual hosts for tomcat 4.1.xx ? I`m missing something. Adrian -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: Logger Valves

2002-12-18 Thread Adrian
Thanks, it`s always the little things that get you. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 8:21 AM To: Tomcat Users List Subject: Re: Logger Valves Get 4.1.17 and use the attribute rotatable=false for AccessLogValve. -Tim Adrian

RE: Apache-Tomcat HOWTO, Hey John Turner !

2002-12-17 Thread Adrian
John , I really like all the work you have done shoeing people how to use mod_jk. I have a build script for FreeBSD and a binary if you would like to add it to your site. Adrian Thiele -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

Logger Valves

2002-12-17 Thread Adrian
Does anyone know how to get the 2002-12-17 out of the log file name ? My log rotater won`t do wild cards. I need all the logs to have the same name. Adrian Thiele -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Session Persistence retrieving old session data

2002-12-05 Thread Adrian Richter
Adrian Richter

Anybody have a Virtual host example ?

2002-11-18 Thread Adrian
Does anyone have an Apache + Tomcat virtual host example I can see. Server.xml would be great. I need to log seperately for each hosts, and config mod_jk. Does my Tomcat virtual hosting mirror my apache config with mod_jk connectors ? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For

RE: unable to authenticate against company-generated certificate

2002-11-18 Thread Adrian Richter
Check out this link for some help: http://javaalmanac.com/egs/javax.net.ssl/GetCert.html Only problem is that it requires JDK 1.4. The JSSE packages do not cut it. Adrian -Original Message- From: Becky Phaneuf [mailto:[EMAIL PROTECTED]] Sent: Tuesday, 19 November 2002 1:25 PM

using multiple Contexts

2002-11-17 Thread Adrian
I`m having trouble logging for multiple Contexts. does this look right Context path=/mynewdir docbase=mynewdir debug=0 Valve className=org.apache.catalina.valves.AccessLogValve prefix=mynewdirLog suffix=.txt / Context/ does this need to nest inside of the default Context ? If anyone has an

Tomcat 4.1.12 without the scripts

2002-11-10 Thread Adrian Threlfall
Can some one tell me how to start Tomcat 4.1.12 without the startup.bat script. I would like to the start it from the command line eg. java options classname -- To unsubscribe, e-mail: mailto:tomcat-user-unsubscribe;jakarta.apache.org For additional commands, e-mail:

RE: Correction RE: 503 Servlet Unavailable when migrating from tomcat 4.0.1 to 4.0.5

2002-10-08 Thread Colquhoun, Adrian
For Information This problem was due to the WebappClassLoader correctly refusing to load the .jar file containing my servlet because it also contained some older javax.servlet classes which is explicitly forbidden in the servlet spec 2.3 Adrian -Original Message- From: Colquhoun

503 Servlet Unavailable when migrating from tomcat 4.0.4 to 4.0.5

2002-10-02 Thread Colquhoun, Adrian
cant me servlet be located in the .jar file under the lib directory (using 4.0.5) ? Thanks Adrian === Information in this email and any attachments are confidential, and may not be copied or used by anyone other than

  1   2   >