RE: Help figuring out Virtual Hosts

2005-09-16 Thread Durfee, Bernard
Dola, I believe in order to serve static content you'll need to create a context XML file. I just posted an email outlining how I was able to get virtual hosting working. An additional step in your case would be to create a file [TOMCAT]/conf/Catalina/servera.com/ROOT.xml and include a definition.

Tomcat 5.5 Virtual Hosting

2005-09-16 Thread Durfee, Bernard
Okay, after much struggle here is the solution I came up with for virtual hosting... 1 Machine, 3 DNS Entries - mymachine.me.com, app01.me.com, app02.me.com == server.xml - 3 host entries under the Catalina engine: Notice e

Deploying root context

2005-09-15 Thread Durfee, Bernard
Is there a way to use the Tomcat 5.5.9 manager to deploy a WAR file as the root context? If not, how to I munge the deployed web application to make it the root context? Bernie - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

RE: Virtual Hosts

2005-09-15 Thread Durfee, Bernard
Base to each. > > Check out the online ref. > > > -Original Message- > > From: Durfee, Bernard [mailto:[EMAIL PROTECTED] > > Sent: 15 September 2005 17:07 > > To: tomcat-user@jakarta.apache.org > > Subject: Virtual Hosts > > > > &

Virtual Hosts

2005-09-15 Thread Durfee, Bernard
I am having trouble configuring virtual hosts in Tomcat 5.5.9. I have two applications app01 and app02. I have 2 DNS entries app01.myserver.com and app02.myserver.com that both point to the machine on which Tomcat is running. How do I configure Tomcat to serve from app01.war when app01.myserver.com

processing

2005-08-26 Thread Durfee, Bernard
How are elements in the server.xml file processed? For instance... ...am I correct in thinking that when Tomcat is started it will grab an instance of org.apache.commons.dbcp.BasicDataSourceFactory. It will then call getObjectInstance() to retrieve the datasource. Is the rest handled by the fac

Oracle & Tomcat 5.5.x

2005-08-26 Thread Durfee, Bernard
Hello, I am trying to create an Oracle 10g datasource with connection caching enabled. In my server.xml I have the following... ...under . Is this properly creating an Oracle datasource with implicit connection caching enabled? If so, how do I verify that this datasource is pooling connections?

OracleDataSourceFactory

2005-07-14 Thread Durfee, Bernard
In the ever confusing quest to properly create an Oracle data source in Tomcat 5.5.x using the 10g JDBC drivers, I am stuck trying to properly configure connection caching. I've tried the following in my context XML file... ...but when I retrieve the data source in my code and examine it... Ora

Clustering: Slow session creation

2005-06-21 Thread Durfee, Bernard
ng at some point. Any ideas? Thanks, Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

getSession(true) VERY slow - 5.5.7

2005-05-23 Thread Durfee, Bernard
I am running Tomcat 5.5.7 on Windows 2000 and when a user logs in, the call to request.getSession(true) is taking 20 seconds. Any ideas on how to track down the source of this problem? Bernard Durfee - To unsubscribe, e-mail

RE: Garbage Collection

2005-04-12 Thread Durfee, Bernard
nched, rather than constant. So in my case, more predictable garbage collection would be a great benefit. Bernard Durfee -Original Message- From: Christoph Kutzinski [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 4:32 PM To: Tomcat Users List Subject: Re: Garbage Collection Ca

Thread Timeout

2005-04-12 Thread Durfee, Bernard
Is there a way to set the timeout on request processing threads? I'd like to be able to say that If a request takes more than 60 seconds, then kill it. Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For addit

RE: Garbage Collection

2005-04-12 Thread Durfee, Bernard
some point. Bernard Durfee -Original Message- From: Pete Guyatt [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 12, 2005 3:33 PM To: Tomcat Users List Subject: RE: Garbage Collection Hi There, Tomcat does not control the garbage collection, it is up to the JVM to decide if and when

Garbage Collection

2005-04-12 Thread Durfee, Bernard
like Tomcat should either attempt to trigger the garbage collector when idle. Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

unpackWARs

2005-04-08 Thread Durfee, Bernard
Does the setting unpackWARs affect performance during runtime? The WAR ends up unpacked to the 'work' directory regardless of this setting, correct? Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: java.library.path - DLL - Domino ..why not use CORBA?

2005-04-07 Thread Durfee, Bernard
Jesper, I seemed to me that there would be a performance increase in using the DLL, since the servlet is running on the same machine as Domino. Using the CORBA method to connect to the same machine seemed like extra overhead. Bernard Durfee -Original Message- From: Jesper B. Kiær

RE: java.library.path - DLL - Domino

2005-04-06 Thread Durfee, Bernard
Problem solved, I restarted Eclipse, waved my hands a couple times and presto, the DLL is found no problem. The wonders of Java on Windows. Although it would be great if someone could explain how with a DLL in a path in the "java.library.path" could not be found. Bernard Durfee ---

RE: java.library.path - DLL - Domino

2005-04-06 Thread Durfee, Bernard
r parses "java.library.path" once at the first call to loadLibrary... usr_paths = initializePath("java.library.path"); ...so why is it not finding the DLL on that path? The only possible reason would have something to do with Tomcat or Java security interfering, but I can find

RE: java.library.path - DLL - Domino

2005-04-06 Thread Durfee, Bernard
class loader is expected to find libraries and such. So the question is, where do I put my DLL so that the web application class loader can find it? Apparently the answer is not "java.library.path", unless there is a bug in Tomcat preventing it from properly parsing the path. Bern

RE: java.library.path - DLL - Domino

2005-04-06 Thread Durfee, Bernard
No dice. It just seems that a call to System.loadLibrary() is not using the 'java.library.path', otherwise how could it possibly not see the DLL? Bernard Durfee -Original Message- From: Jason Bainbridge [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 06, 2005 4:43 PM To: To

java.library.path - DLL - Domino

2005-04-06 Thread Durfee, Bernard
...and indeed I do have a DLL file D:\Lotus\Domino\nlsxbe.dll. This is on a Windows 2000 machine. Any ideas? Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cluster Deployment Question

2005-03-18 Thread Durfee, Bernard
received, timing out. ...any ideas? Seems like the Tomcats are talking and trying, but can't send the WAR from one to the other. Bernard Durfee - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: changing my web app and then deploying takes a lot of time!!!

2005-03-18 Thread Bernard
yourDotcom/ROOT.xml No idea why this works. Have you tried it? Regards, Bernard On Fri, 18 Mar 2005 02:33:46 +, you wrote: >Hi again! > >I am currently developoing a web application and whenever I change my >project (jsp file or java classes) I have to deploy and undeploy t

General Basic Deployment Question

2005-03-17 Thread Bernard
ybody seen this working at all? With the jserv servlet engine, I only had to touch any file in the list of the servlet repositories and the servlet zone was re-started. My requirements are minimal, fully satisfied by the old jserv. Many thanks, Be

Re: changing my web app and then deploying takes a lot of time!!!

2005-03-17 Thread Bernard
lost here, too. Does changing your app context.xml work for you? Sorry that I couldn't help you... :( Regards, Bernard On Fri, 18 Mar 2005 02:33:46 +, you wrote: >Hi again! > >I am currently developoing a web application and whenever I change my >project (jsp file or ja

Re: Reload webapp and context

2005-03-17 Thread Bernard
application via http??? Playing around a little is sometimes very useful. Regards, Bernard On Thu, 17 Mar 2005 18:50:40 -0800, you wrote: >I have a similar problem in 5.5 when deploying my .war files. If I go to >the manager and undeploy a webapp that was deployed from a war it only >dele

Re: Serious Tomcat Question

2005-03-17 Thread Bernard
ava server-side include is supported. Regards, Bernard On Thu, 17 Mar 2005 19:15:00 -0800, you wrote: >Not sure what your need or frequency is for routine adding/deleting of a >virtual host is, but have you considered running multiple instances of >Tomcat and connecting them eac

Serious Tomcat Question

2005-03-17 Thread Bernard
long would a thing like this take to fix? Many thanks, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Tomcat startup with jsvc on Linux

2005-03-17 Thread Bernard
, then the command does not return at all and I have to press [Enter] or [Ctrl+C] at the console. It looks as if I am lacking some knowledge here. Many thanks for your help, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTE

Re: Reload webapp and context

2005-03-17 Thread Bernard
Roland, You might want to add yourself to the cc list of this bug: Normal startup causes server error 500 http://issues.apache.org/bugzilla/show_bug.cgi?id=34050 It might be in the area of your interest. Regards, Bernard On Thu, 17 Mar 2005 11:02:57 +0100, you wrote: >Hi, > >

Re: Reload webapp and context

2005-03-17 Thread Bernard
clude the manager application in a production system because of the additional security risk. Regards, Bernard On Thu, 17 Mar 2005 11:02:57 +0100, you wrote: >Hi, > >To reload, start, stop, deploy, undeploy contexts see the Manager : >http://jakarta.apache.org/tomcat/tomcat-5.5-doc/m

Re: Tomcat 5 shutdown issue with jsvc commons daemon

2005-03-16 Thread Bernard
Thanks Wolfgang! Sorry about my previous email - I found my mistake. Regards, Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 shutdown issue with jsvc commons daemon

2005-03-16 Thread Bernard
version coming out? The errors are below. I cross-posted to the commons-dev list because I used a nightly build. Many thanks, Bernard # ./configure *** Current host *** checking build system type... i586-pc-linux-gnu checking host system type... i586-pc-linux-gnu checking cached host system type

Tomcat 5 shutdown issue with jsvc commons daemon

2005-03-16 Thread Bernard
fault web.xml, using application web.xml only/usr/local/tomcat5/conf/context.xml" also in this log which I was not able to resolve. The file /usr/local/tomcat5/conf/web.xml exists and is readable and I don't know why tomcat cannot process it. Many thanks in advance Bernard jsvc.exec debug: user

Apache httpd and Tomcat with multiple virtual hosts

2005-02-16 Thread Bernard
Hi, I am setting up Apache 2 with mod_jk and Tomcat 5.5 with multiple virtual hosts. My background is mod_jserv where I had ApJServMount /myServletAlias /myZone in the sections. Now Tomcat, I undestand, has also its own virtual hosts in server.xml, e.g.

Multiple broken Tomcat Linux daemon instances with jsvc?

2005-02-14 Thread Bernard
environment. Or maybe further development is needed. Many thanks in advance for you comments. Bernard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Apache/2.0.52 (Win32) + mod_jk/1.2.8 + Tomcat 5.5.7

2005-02-07 Thread Bernard
): In workers.properties I have: ps=\ worker.list=ajp13 worker.ajp13.port=8009 worker.ajp13.host=localhost worker.ajp13.type=ajp13 Any help would be appreciated. I am desparate. P.S. I don't have a personal firewall that could complicate things. Thanks, Bernard ---

RE: Major bug in deployer!!

2005-01-21 Thread Durfee, Bernard
xml' file and yet does not respect the 'path' attribute in the element. So my question remains... Is there a workaround for this problem that will allow me to deploy my web application using the deployer when my web application context path needs to be '/servlet/myservlet'?

Major bug in deployer!!

2005-01-20 Thread Durfee, Bernard
'/servlet/myservlet'? Yes, the context NEEDS to be '/servlet/myservlet'! I have tried this in 5.5.4, 5.5.6 and 5.5.7 with the same results. The deployer would make life on our network admin MUCH easier because I would be able to deploy new versions of the web application without bu

OracleDataSourceFactory

2005-01-05 Thread Durfee, Bernard
Has anyone been able to get the OracleDataSourceFactory working with Tomcat 5? It seems that no matter how I set up the element in my context the factory returns a null data source. Any help would be appreciated. Bernard Durfee -Original Message- From: Dwayne Ghant [mailto:[EMAIL

Problem compiling mod_jk.so

2002-06-22 Thread Bernard Landman
Folks, I am attempting to create a mod_jk.so connector/redirector to tie Tomcat 4.0.3 (running correctly using its built-in HTTP server) to an IBM HTTP Server (IHS) Version 1.3.19. The server documentation says IHS is based on the Apache server so I assume it is Apache 1.3.19. To continue, the O

Re: Can't run JSP Samples on new Tomcat 4.0.3 install

2002-06-14 Thread Bernard Landman
Thanks to rsequeira - I am up and running with both sample sets now. It turned out that adding tools.jar (absolute path of course) to CLASSPATH didn't work but copying it to the $CATALINA_HOME/common/lib dir did. I apologize for not using the Find tool to locate previous references to this prob

Can't run JSP Samples on new Tomcat 4.0.3 install

2002-06-14 Thread Bernard Landman
Folks, I installed Tomcat 4.0.3 yesterday on an RS/6000 box running AIX 4.3.3; there is an IBM HTTP Server already running on the box (it is Version 1.3.19 of IHS, and is based on the Apache HTTP Server - presumably V1.3). I ran into some port conflicts when I tried to start tomcat so I "added"

Re: Using "catalina run" fails...

2002-06-13 Thread Bernard Choi
Suspect the problem is with the "." in your directory name "Tomcat 4.0". It seems to be interpreted as part of the package. Try naming it something else.. safest to avoid spaces and "."s. - Original Message - From: "Jakarta Tomcat Newsgroup" <@[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Se

Re: mod_jk.so + apache

2001-08-15 Thread Bernard T. Higonnet
Yann Sagon wrote: > Hi, > > I'm very new to tomcat + apache. > > I've dowmloaded tomcat 3.2.3 and mod_jk.so (eapi) > I'v installed tomcat as a standalone version without problem. > > Now, I want to use it with apache and some virtual hosts. In case you aren't a French native speaker, write b

Re: Newbie wants to compile mod_jk for existing Apache sans apxs

2001-08-14 Thread Bernard T. Higonnet
I am aware) there is no /usr/local/apache/bin. The result of "find / -name apxs" is nothing. "which apxs" says he can't find it. The only other thing I can add is that, curiously, I do have the man page for apxs??? BT Higonnet > > "Bernard T. Higonnet&q

Newbie wants to compile mod_jk for existing Apache sans apxs

2001-08-14 Thread Bernard T. Higonnet
Hello, I have Apache 1.3.19 plopped down on my system as a result of installing Mandrake 8.0. I have installed tomcat 3.2.3 from the tarball and it seems to work to the extent that I can look at the examples at localhost:8080/examples. I have the source code for mod_jk but I can't follow the

RE: Tomcat as standalone container

2001-06-14 Thread Christian Bernard
needs, Tomcat is also able to run ontop of such native servers (either as a in-process or out-of-process container) but this is not necessary. This is a choice which depends of your context. For more information, download the last version and have a look to the user's guide.   Christian BE

Re: Starting Tomcat in Apache

2001-03-18 Thread Peter Bernard West
27;s own and then bring in the startup script. If > you have a workaround, please let me know. > > thanks, > > Kenneth Westelinck > > >From: Peter Bernard West Reply-To: [EMAIL PROTECTED] To: > >[EMAIL PROTECTED] Subject: Re: Starting Tomcat in Apache Date: > >Fri,

Re: Starting Tomcat in Apache

2001-03-15 Thread Peter Bernard West
In Windows, does a batch script exit if any of the commands fails? If it does not, the script will hang if startup.bat fails, or fails to produce mod_jk.conf-auto. Peter Steve Prior wrote: > > Wouldn't you need to insert a line in the batch file like: > if exist "%TOMCAT_HOME%\conf\mod_jk.conf

3.3m1 test.war file

2001-03-14 Thread Peter Bernard West
The release notes for 3.3m1 mention that the test.war file can be obtained from the "v3.3-m1/apps" directory. I can't find this directory or file. Anyone know where it is? Peter -- Peter B. West [EMAIL PROTECTED] http://powerup.com.au/~pbwest "Lord, to whom shall we go?"

3.3m1 - individual parsers for apps

2001-03-14 Thread Peter Bernard West
I have just installed 3.3m1 from Henri Gomez' rpms. The configuration has changed significantly. The top-level readme contains release notes, whcih include the following: - Class Loading: Tomcat 3.3m1 now uses a new hierarchy of class loaders. It provides for the separation of the classes

Re: IE Caching

2001-02-09 Thread Bernard Durfee
> on the local machine? Basiclly IE seeing the URL if from Localhost and > makes some form of an arbritray decision that it won't load? > > Randy > > -Original Message- > From: Bernard Durfee [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 09, 2001 5

Re: IE Caching

2001-02-09 Thread Bernard Durfee
r with PathInfo. > > Randy > > -Original Message- > From: Bernard Durfee [mailto:[EMAIL PROTECTED]] > Sent: Friday, February 09, 2001 4:41 PM > To: [EMAIL PROTECTED] > Subject: Re: IE Caching > > Craig, > Everything is coming out of JSPs, so it must be

Re: IE Caching

2001-02-09 Thread Bernard Durfee
sed soon, which I've been told helps. It's amazing that Microsoft would drop the ball like this when such high security risks are at stake. Thanks, Bernie Durfee "Craig R. McClanahan" wrote: > > Bernard Durfee wrote: > > > All, > > I've tried

IE Caching

2001-02-09 Thread Bernard Durfee
All, I've tried every solution that I can think of to prevent IE from caching content. I've placed every 'no-cache' meta tag and response element known to man, but IE 5.5 still caches content. Does Tomcat 3.2.1 effect the response header when sending the response back to the browser? I'm using T