RE: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-25 Thread David Boyer
I bet that's it. In looking at my workers.properties files, I neglected to prefix my settings with the name of the worker. I might be retarded;) [EMAIL PROTECTED] 12:36:27 PM 8/25/2005 I also ran into this just today (although I don't get entries in my logs). I believe I found a solution. In

Re: Multiple Tomcats on the same machine possible?

2005-08-25 Thread David Boyer
Yep, different port for shutdown and any AJP/HTTP connectors you use. That and a unique service name should be all you need. [EMAIL PROTECTED] 1:04 PM 8/25/200525/2005 Instead of having one Tomcat on each machine, we'd like to try to fit multiple on one. Any advice on how to go about that?

Re: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-24 Thread David Boyer
is is fairly common with non-server version of IIS, but that's by design. I'm using Windows Server 2003 Enterprise. Thanks. - Original Message - From: Jay Burgess [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Wednesday, August 24, 2005 3:19 PM Subject: RE: 10 connection

Re: 10 connection limit with IIS and JK/ISAPI 1.2.14

2005-08-24 Thread David Boyer
. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Wed, August 24, 2005 4:28 pm, David Boyer said: is is fairly common with non-server version of IIS, but that's by design. I'm using Windows Server 2003 Enterprise. Thanks. - Original Message

OT: JSTL and JSF book recommendations

2005-08-11 Thread David Boyer
We're using Tomcat 5.5.9, and I'm looking for good books (or other resources) for learning JSTL and JSF. These will be for a person with a novice-level understanding of Java and Tomcat, so I'd like something that will take him from beginner to intermediate (or better). He'll be learning Java at

using uriworkmap.properties with multiple hosts

2005-05-21 Thread David Boyer
We have two sites (virtual hosts) running under IIS, and two hosts in Tomcat which handle the JSP/servlets for each host. Due to different security requirements, each instance of Tomcat is running in its own JVM. Is it possible to specify host info in the uriworkermap.properties file? For

path attributes in context xml files

2005-03-03 Thread David Boyer
I use xml files in /conf/[enginename]/[hostname] to define my contexts. I now know that Tomcat 5.5.x doesn't allow for 'path' attributes in the Context elements when defined that way. Previously, I could specify the path as '/dir1/dir2/appname'. I can easily rename the xml file to

Re: path attributes in context xml files

2005-03-03 Thread David Boyer
an underscore. I will see if I can find it if no one else knows off the top. Doug - Original Message - From: David Boyer [EMAIL PROTECTED] To: tomcat-user@jakarta.apache.org Sent: Thursday, March 03, 2005 5:31 PM Subject: path attributes in context xml files I use xml files in /conf/[enginename

Re: context elements in /conf/[enginename]/[hostname]

2005-03-01 Thread David Boyer
is implied by the name of the file. All you specify is the docBase. And, of course, no more Logger elements. Jake Quoting David Boyer [EMAIL PROTECTED]: I'm upgrading my Tomcat 5.0.x installations to 5.5.7. All of my context elements are defined in individual files (with a .xml extension

context elements in /conf/[enginename]/[hostname]

2005-02-24 Thread David Boyer
I'm upgrading my Tomcat 5.0.x installations to 5.5.7. All of my context elements are defined in individual files (with a .xml extension) in the $CATALINA_HOME/conf/[enginename]/[hostname]/directory as per the Tomcat documentation. All of the defined contexts are loaded when Tomcat 5.0.28 starts,

Re: context elements in /conf/[enginename]/[hostname]

2005-02-24 Thread David Boyer
that. The path is implied by the name of the file. All you specify is the docBase. And, of course, no more Logger elements. Jake Quoting David Boyer [EMAIL PROTECTED]: I'm upgrading my Tomcat 5.0.x installations to 5.5.7. All of my context elements are defined in individual files (with a .xml

Re: Tomcate 4.1.27 as a Service - Follow up to OOM problem

2005-01-06 Thread David Boyer
If the path contains spaces you could try enclosing it in double quotes: @SET TOMCAT_HOME=C:\Program Files\Tomcat4 [EMAIL PROTECTED] 01/06 9:38 am Hi again all I found the following when trying to find out how to REinstall tomcat as a service and to add options like the -Xmx512M what I

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
Are you using JK or JK2 as the redirector in IIS? You might want to indicate what version of IIS as some people have reported trouble using JK in IIS 6 unless they run in IIS 5 isolation mode. I use JK2 with multiple virtual hosts, and each host is handled by a different worker. I'm sure JK can

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
Resend correcting a typo: [channel.socket:web1:8010] port=8010 host=web1.bvu.edu [ajp13:web1:8010] channel=channel.socket:web1:8010 [uri:web1.bvu.edu/servlet/*] worker=ajp13:web1:8010 [channel.socket:web2:8009] port=8009 host=web2.bvu.edu [ajp13:web2:8009]

Re: Ugh. IIS + Tomcat + multiple virtual hosts

2005-01-05 Thread David Boyer
2005 11:24:21 -0600, David Boyer wrote Resend correcting a typo: [channel.socket:web1:8010] port=8010 host=web1.bvu.edu [ajp13:web1:8010] channel=channel.socket:web1:8010 [uri:web1.bvu.edu/servlet/*] worker=ajp13:web1:8010 [channel.socket:web2:8009] port=8009 host=web2.bvu.edu [ajp13:web2:8009

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-04 Thread David Boyer
in there. Thanks Charles -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Monday, January 03, 2005 9:05 AM To: tomcat-user@jakarta.apache.org; Charles P. Killmer Subject: RE: Speed issues with SQL Server 2000 and JTDS You could try using something like jProfiler to see

RE: Speed issues with SQL Server 2000 and JTDS

2005-01-03 Thread David Boyer
You could try using something like jProfiler to see where the bottleneck is. I don't see anything unusual in your code example, although it looks like the only thing it does is create the connection. I use jTDS and it works fine without doing anything exceptional. [EMAIL PROTECTED] 01/03

Re: using Thread object in Tomcat

2005-01-03 Thread David Boyer
Rather than creating a class that extends Thread you should create a class that implements Runnable and construct a new Thread using your Runnable. You'd extend Thread if you were adding some extended functionality to the Thread class, otherwise use Runnable. [EMAIL PROTECTED] 01/03 10:11 am

Re: how to tell if Jikes is being run??

2004-12-31 Thread David Boyer
When you use Jikes or any other out-of-process compiler, you're spawning a full heavy-weight system process for each compilation. That overhead seems to offset at least some of the performance advantage of using jikes. You should be able to see the jikes instance running in whatever you use to

Re: Does Windows needs special settings?

2004-12-30 Thread David Boyer
Are you using startup.bat to start Tomcat when you receive this error? %CATALINA_HOME%\bin\bootstrap.jar needs to be in the classpath when starting tomcat. This gets set in catalina.bat which is involed by startup.bat. It shouldn't be necessary to do anything special on Windows. [EMAIL

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
For the sake of clarifcation, this is only necessary when restoring to an instance of SQL server that is different from the one on which the backup was created. On your production server, you can use SQL Enterprise Manager to generate the necessary SQL script to create the users and roles

RE: [OT] cannot connect a sqlserver

2004-12-16 Thread David Boyer
a script which I use for permisions, but I had to create it and maintain it manually. I have been using Enterprise Manager UI to manage users when restoring from a backup. It would be great to place all of this into a single script for execution. /robert -Original Message- From: David

Re: Myth or Best practice : %@ page session=false %

2004-12-15 Thread David Boyer
You can look in the code of the generated servlet to see what the differences are when using either true or false with the session directive. [EMAIL PROTECTED] 12/15/2004 8:17:55 AM %@ page session=false % Hello people I wanted to enquire from the experts about something that I had read. Is

RE: new isapi_redirector2.dll

2004-12-14 Thread David Boyer
\isapi\jk_isapi_plugin.c(237) : error C2059: syntax error : ')' jk_jni_aprImpl.c -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, November 19, 2004 5:01 PM To: [EMAIL PROTECTED] Subject: new isapi_redirector2.dll I noticed there have been some commits since

re: IIS replacement

2004-12-07 Thread David Boyer
Actually, I've been using the JK2 ISAPI connector with IIS 6.0 (in worker process mode) just fine. If I'm not mistaken, I've also had the JK ISAPI connector running under IIS 6.0. I think the key is loading the filter at the site level and not at the global level, and making sure the site has its

RE: Tomcat/Java and SMP

2004-12-03 Thread David Boyer
So these are 10 separate boxes? I think the clarification is necessary because application server in the context of java usually refers to the J2EE or (sometimes) servlet container. Are you taling about 10 instances of tomcat each running on their own box? [EMAIL PROTECTED] 12/3/2004 11:20:55

Re: Tomcat Connections And Memory Usage

2004-12-03 Thread David Boyer
To answer the first part of your question, you can configure the number of request threads on a per-connector basis: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/coyote.html http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk2.html [EMAIL PROTECTED] 12/3/2004 1:55:39 PM

Re: Where do I get mod_jk

2004-12-03 Thread David Boyer
Under Tomcat Web Server Connectors: http://jakarta.apache.org/site/binindex.cgi [EMAIL PROTECTED] 12/3/2004 3:44:10 PM for Apache-1.3.33 for a redhat linux server? If you can send me the direct link for the tarball or the rpm for redhat linux it would be greatly appreciated. I am only

RE: Where do I get mod_jk

2004-12-03 Thread David Boyer
-Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 4:50 PM To: [EMAIL PROTECTED] Subject: Re: Where do I get mod_jk Under Tomcat Web Server Connectors: http://jakarta.apache.org/site/binindex.cgi [EMAIL PROTECTED] 12/3/2004 3:44:10 PM

RE: Where do I get mod_jk

2004-12-03 Thread David Boyer
Xtria, LLC 8045 Leesburg Pike #400 Vienna, VA 22182 Desk: 703-821-6110 Main: 703-821-6000 Fax: 703-827-0374 -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED] Sent: Friday, December 03, 2004 5:11 PM To: [EMAIL PROTECTED] Subject: RE: Where do I get mod_jk So you're looking

Re: HP-UX misbehaving AGAIN

2004-12-03 Thread David Boyer
Just because the server has 4GB of RAM doesn't mean the JVM is free to take whatever it needs. Increasing the initial and maximum heap sizes. For example, passing the -Xms64m argument to the JVM when starting Tomcat will set the initial heap size to 64MB. Passing -Xmx128m will set the maximum

Re: Tomcat 5.5.4 memory JVM settings

2004-12-02 Thread David Boyer
Since you mention the registry, I take it you're running Tomcat as a Windows Serivce? I believe both Tomcat 4.x and 5.x using procrun , so the method for setting -Xmx would still be the same. [EMAIL PROTECTED] 12/2/2004 8:11:52 AM Hi all, Does anybody know how to change the memory

Re: Re[2]: getting desperate here :)

2004-12-02 Thread David Boyer
From the servlet API: Invalidates this session then unbinds any objects bound to it. If a browser's TomcatA session is invalidated and they return to TomcatA, TomcatA will issue a new session ID to the browser. The session ID represented in the cookie would no longer correspond to a know

Re: Tomcat/Java and SMP

2004-12-02 Thread David Boyer
The ability of Tomcat (or any other Java application) to use multiple CPUs depends on if the JVM can support multiple CPUs. Sun's JVM for Windows uses native threads which the OS can schedule across multiple CPUs. Clearly, your test application shows this. I believe Java threads are mapped

Re: Q: ISAPI filter for JK 1.2.7-beta Visual C++ requirements

2004-12-01 Thread David Boyer
Thanks! That did the trick. I have the latest version of Visual Studio .Net on another system, and it sounds like it'd be better to use to get the full logger features. [EMAIL PROTECTED] 12/1/2004 1:05:19 AM David Boyer wrote: I'm attempting to build this from source, and I'm getting several

Re: [ANN] Jakarta Tomcat Connectors 1.2.7-beta released

2004-11-30 Thread David Boyer
Cool! I'm anxious to try the wildchar uri matching. the regular expressions I'm using with JK2 aren't very complex, so this looks like it will do the trick. [EMAIL PROTECTED] 11/30/2004 9:24:44 AM The Apache Jakarta Tomcat team is proud to announce the immediate availability of Jakarta

Q: ISAPI filter for JK 1.2.7-beta Visual C++ requirements

2004-11-30 Thread David Boyer
I'm attempting to build this from source, and I'm getting several errors related to an undeclared identifier '__FUNCTION__'. Visual C++ 7 supports __FUNCTION__, but VC++ 6.0 does not. Does anyone know if this is an intended change in the build requirements, or am I just doing something wrong?

RE: Multipe Tomcat instances

2004-11-30 Thread David Boyer
As far as Tomcat 4.x and 5.0.x, Tomcat uses %CATALINA_BASE%/conf/server.xml unless you specifically specify an alternative. Optionally, you can pass '-config fullpath' to the main method of the startup class where fullpath is the full path to your config file. For example:

Tomcat 5.0.x or 5.5.x in production

2004-11-29 Thread David Boyer
We've been using Tomcat 5.0.x in production for the past nine months or so. There appear to be numerous benefits to moving to 5.5.x, not the least of which being that it's the current focus of development. With 5.5.4 being labeled 'stable', I'm interested in moving our sites to 5.5.x. Is 5.5.4

Re: No more JK2 ?

2004-11-29 Thread David Boyer
http://jakarta.apache.org/tomcat/connectors-doc/ [EMAIL PROTECTED] 11/29/2004 10:25:49 AM Where can I find more information on not only the official announcement, but the latest on the connector development. I have also been using JK2 for some time, and was really happy with it. Thank you.

RE: What Connector Should I Use?

2004-11-29 Thread David Boyer
I use JK2 also (although I'm running on IIS 6.0). Is JK2 easier to configure? It probably depends on your existing familiarity. It sounds to me like JK is used much more heavily than JK2, so it's getting more real-world stress testing and probably greater developer attention. I really like

Re: Multipe Tomcat instances

2004-11-29 Thread David Boyer
I would say one of the benefits is the ability to have sites using different versions of Tomcat and Java. We run two instances on our main server: one hosts our official sites, the other hosts user (student/faculty) sites. This lessens the possibility that any 'untrusted' code on our user sites

Re: JNI, tomcat thread safety

2004-11-19 Thread David Boyer
Tomcat won't do anything to manage this. I think this is more a generic JNI question. Multiple threads can access your native library concurrently. What it's going to boil down to is whether or not you native library is thread-safe, and whether you want to impose some degree of

new isapi_redirector2.dll

2004-11-19 Thread David Boyer
I noticed there have been some commits since the last official release in March, so I've built a version based on the latest snapshot. I've also added a How to page for people interested in building it themselves.

Re: Installing a webmail client such as squirrelmail (PHP) on tomcat?

2004-11-18 Thread David Boyer
I think you'd be better off fronting Tomcat with Apache or IIS (depending on your platform). mod_php for Apache seems to have a pretty good track record. For IIS, I'd suggest using php.exe for process isolation rather than the PHP ISAPI application extension due to known threading issues. You

Q: valve versus filter

2004-11-17 Thread David Boyer
We're using IIS 6 with the JK2 ISAPI filter (Tomcat 5.0.28). I have several filters that I'm using on almost every context in production: an authentication filter, an access-control filter, and a compression filter. I'd be interested in implementing these things at a more global level rather

RE: Problem displaying PDF in IE6 from Tomcat using the ActiveX R eader Plug-in

2004-11-16 Thread David Boyer
Are you setting the MIME type in the response header properly for the PDF? Also note that the Acrobat Reader plugin doesn't like to read PDFs if they've been served using HTTP compression (I don't know if that applies in your case or not). Also, if the PDF is being sent over SSL, note that IE

RE: Tomcat JRE vs JDK Issue

2004-11-16 Thread David Boyer
Correct me if I'm wrong. One of the things the JDK brings that the JRE does not is tools.jar which contains com.sun.tools.javac, which is needed to compile JSPs. It might be possible to use the JRE as long as you have tools.jar from the JDK somewhere in your classpath. It seems like I saw a

Re: How might I read docBase into my application

2004-11-16 Thread David Boyer
application.getRealPath(/) This should return the full filesystem path to the root of your current web application (e.g. context). I believe this should be the value represented by docBase in your context config. [EMAIL PROTECTED] 11/16/2004 8:35:55 AM Can anyone tell me how I can obtain the

RE: How might I read docBase into my application

2004-11-16 Thread David Boyer
Thank you. That is very good to know. [EMAIL PROTECTED] 11/16/2004 8:47:49 AM Hi, application.getRealPath(/) This should return the full filesystem path to the root of your current web application (e.g. context). I believe this should be the value represented by docBase in your context

Re: JDBC transactions using MySQL / DBCP in Tomcat 5.0.28

2004-11-16 Thread David Boyer
Prior to your first insert, do you need to execute an SQL Start transaction? Otherwise, it sounds like autocommit will revert to the default start of true. http://dev.mysql.com/doc/mysql/en/COMMIT.html [EMAIL PROTECTED] 11/16/2004 12:14:13 PM Hi all! In my webapp I do two db inserts into

Re: setting java options and verbosegc output

2004-11-15 Thread David Boyer
you might find this useful for fine-tuning JVM options: http://web.bvu.edu/staff/david/tcservcfg/ [EMAIL PROTECTED] 11/15/2004 10:42:46 AM Howdy, I am running tomcat as a service. How do I set options for the JVM to run. In particular, I wish to monitor garbage collection as I have run into

Re: gc output for tomcat?? where is it

2004-11-15 Thread David Boyer
try adding -Xloggc:file [EMAIL PROTECTED] 11/15/2004 12:39:45 PM I have set the -verbose:gc flag for tomcat. Where does the output go? Do I need to set the log level to Info instead of Error?? John McClain Senior Software Engineer TCS Healthcare [EMAIL PROTECTED] (530)886-1700x235 Before

Re: Setup Xms Xmx

2004-11-15 Thread David Boyer
Another shameless plug: http://web.bvu.edu/staff/david/tcservcfg/ [EMAIL PROTECTED] 11/15/2004 2:03:33 PM Hi, my platform is: Windows 2K Tomcat 5.0.27 I start Tomcat as Win2K service, can I setup JAVA_OPTS like Xms and Xms. Thank a lot and best regards. ciao --

RE: use regexp in 'path' and 'docbase' of context?

2004-03-05 Thread David Boyer
Thanks very much for the clarification. Loading 1,800 contexts consumes about 200MB of RAM and takes several mintues. The contexts have no load-on-startup activity: the context definitions contain only the docbase and the path attributes, and the web.xml contains an empty web-app section. I'm

q: reload security policy without Tomcat restart?

2004-03-04 Thread David Boyer
I want to be able to make changes to my catalina.policy and to apply those changes without restarting Tomcat. Is this possible, and how would I go about it? TIA!

q: use regexp in 'path' and 'docbase' of context?

2004-03-04 Thread David Boyer
I want to tomcat-enable our 1,800 student web sites without creating the individual $CATALINA_HOME/conf/[enginename]/[hostname]/ config files. Is there anyway of doing this with regular expressions? If I do have to define each context, how would I configure them for lazy initialization to

updated Tomcat ISAPI filter available

2004-03-01 Thread David Boyer
This is the isapi_redirector2.dll built from the latest source snapshot as of March 1, 2004. http://web.bvu.edu/staff/david/index.jsp?section=softwaresubsection=isapipage=overview The build went without error, but please let me know if the filter does not work properly so I can pull it form my

Utility for Running Tomcat as a Windows Service

2004-02-25 Thread David Boyer
Version 2.0.8b is out. This should now work again with Tomcat 5!!! Additional details and free download available here: http://web.bvu.edu/staff/david/tcservcfg/

New Object Pooling project

2003-12-27 Thread David Boyer
Hi all, I've released a beta of my Object Pooling software and it's freely available on my web site: http://web.bvu.edu/staff/david/pooling/ This is an extensible Object Pooling system that could be extending to handle pooling of just about any Object type. The initial release contains a

Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-20 Thread David Boyer
I wrote a free utility that makes this quite a bit easier. Hope this helps: http://web.bvu.edu/staff/david/tcservcfg/ [EMAIL PROTECTED] 12/20/03 9:33 AM I am current running Tomcat 5.0.16 standalone on Windows XP Pro. I would like to install it as a Windows service. All the documentation I

updated Tomcat ISAPI filter available

2003-12-08 Thread David Boyer
This is the isapi_redirector2.dll built from the latest source snapshot as of Dec 8, 2003. As usual, I have no environment in which to test this, so I can not vouch for the functionality or stability, or verify the effectiveness of any bug fixes in the latest source.

new verion of Tomcat Service Manager

2003-12-01 Thread David Boyer
version 2.0.8 is out. -Changed GUI to multi-tabbed panels due the space constraints of a single-paned form, and to work better with screen resolutions less than 1024 x 768. This should also make it easier to add options without trying to pack everything onto the same form. -Added service start

new Tomcat Service Manager (free)

2003-11-03 Thread David Boyer
The past two weeks have netted some significant additions: Version 0.2.0.7 (November 3): -Added Help for starting the configured service manually from a command line so all stdout and stderr info is available in the console window. -Additional How To and Troubleshooting documentation Version

new build of isapi_redirector2.dll

2003-09-26 Thread David Boyer
The current Jakarta release version is 2.0.2 which is from Fall 2002. If anyone is interested in trying something newer, I've posted a build on my web site: http://web.bvu.edu/staff/david/tcservcfg/isapi_redirector2.zip This based on the Tomcat 4.1.27 source code with the current Apache httpd

addendum: new build of isapi_redirector2.dll

2003-09-26 Thread David Boyer
I have also gotten the latest cvs snapshot to build fine so long as I use the 1.52 version of jk_channel_socket.c. Both this and the 4.1.27-based isapi_redirector2.dll are available at the link below. If they work, this should give us access to most of the latest bug fixes until the next

Re: 1,900 webapp contexts?

2003-03-19 Thread David Boyer
I was unaware of the feature you mentioned; I'll check it out. Thanks! - Original Message - From: Craig R. McClanahan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 10:56 AM Subject: Re: 1,900 webapp contexts? snip - db I've never tried it

Re: tomcat stops when logout

2003-03-19 Thread David Boyer
Actually, there's a simpler solution than changing OSs; I'll try to offer a suggestion that actually addresses your need rather than a self-serving elitist agenda:-} Send the -Xrs switch to the JVM when you start Tomcat. This should work regardless of your OS. If you're using Windows, run Tomcat

1,900 webapp contexts?

2003-03-18 Thread David Boyer
We have about 1,900 students and faculty, and we create web space for all of them automatically. I'm interested in Tomcat-enabling their web space and have been testing it on a test server. There are approximately 1,900 username.xml files in /webapps/. The problem is that it takes Tomcat 15-20

Q: java.security.manager

2003-02-27 Thread David Boyer
I'm using java.security.manager with catalina.policy. Is it possible to make changes to catalina.policy and apply the changes without restarting Tomcat? I don't think it will be necessary to change security policy very often, but it'd be nice to be able to do it on the fly if possible. TIA!

Q: webapp contexts with overlapping docBases

2003-02-27 Thread David Boyer
If the root of my web site is d:\inetpub\wwwroot and I create a Tomcat context with that same docBase, can I also create another context with the docBase of d:\inetpub\wwwroot\development\devapp. If the docBase of one context is a subdirectory of another context's docBase, how does Tomcat know

Free utility for installing and managing Tomcat as a WindowsService

2003-02-26 Thread David Boyer
Version 0.2.0.1 is out today. Includes numerous updates and bug fixes. This 100% free tool allows you to manage one or more services running on the same box, and makes it easier to have multiple instance of Tomcat running as Windows services using a single or multiple java.home, tomcat.home,

Update: Free utility for installing and managing Tomcat as aWindows Service

2003-02-20 Thread David Boyer
The version I released yesterday had a severe problem with improperly setting the java.endorsed.dirs which probably resulted in the service always failing to start. Sorry!!! It's been fixed now, and you can download an updated copy at the link below. Tomcat Service Manager will manage one or

Free utility for installing and managing Tomcat as a WindowsService

2003-02-19 Thread David Boyer
This is an updated version. It'll manage one or more services running on the same box, including multiple server.xml's and policy files. It'll also allow you to use the same %tomcat_home% for multiple service instances. http://web.bvu.edu/staff/david/tcservcfg/

Help sought: regular expressions and isapi_redirector2.dll

2003-02-03 Thread David Boyer
Version 2.0.2 and later of isapi_redirector2.dll is supposed to allow PCRE 3.9-type regular expressions in uri maps in workers2.properties so that you can use more than just an asterisk for pattern matching. Has anyone gotten this to work? I've spent a dozen or more hours trying different

Re: tomcat 4.1.18: disable default directory listing

2003-02-03 Thread David Boyer
If you want to disable this globally, look in $tomcat_home/conf/web.xml. I believe this can also be done on a per-context basis in the web.xml file of each application context. - Original Message - From: Mona Wong-Barnum [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent:

Re: Upgrading to new version of Tomcat

2003-01-28 Thread David Boyer
Copy the 4.1.18 jars from /common/lib and /server/lib to their respective location in your current Tomcat installation. Optionally, also copy the contents of /server/webapps/admin, /server/webapps/manager, and /webapps if you want to upgrade these applications as well although you'll want to be

new version: managing Tomcat as a Windows service

2003-01-20 Thread David Boyer
I've uploaded a new version of the application I wrote to manage and configure multiple instances of Tomcat as a Windows service. Sorry my web site is so slow; fortunately the utility is only a 74KB download. http://www.iowatelecom.net/~dkboyer/index.html

How to: run Tomcat as a Windows service

2003-01-16 Thread david boyer
This topic comes up regulary and I know first hand that getting Tomcat to run as a Windows service can be a headache-especially if you want to run multiple instances with different configurations and security policies. To simplify this, I wrote a Visual Basic utilty that tackles this. It's

Re: Tomcat on windows platform?

2003-01-15 Thread David Boyer
Does it help to change the priority of the ISAPI filters for each? [EMAIL PROTECTED] 01/15/03 11:25AM When on windows, do like windows I say. For windows (nt4/2k) machines we use IIS-Tomcat 4.12 it works like a charm, except one issue found. that is the redirector (logic) sends frontpage

Re: JDBC Connection pooling

2003-01-15 Thread David Boyer
For this particular error, the Tomcat classloader documentation would probably be your best bet. [EMAIL PROTECTED] 01/15/03 02:24PM When trying to get a connection pool set up, tomcat spits this exception back out. Nowhere in the code do I reference this class. Can anyone point me to a good

Re: JDBC Connection pooling

2003-01-15 Thread David Boyer
PROTECTED] 01/15/03 02:44PM Any suggestions on what in particular to look for? I know the classloader that is spitting up on itself is the webapp classloader, because the exception doesn't occur until I attempt to access this application. Is that correct? - Original Message - From: David Boyer

Q: Dynamic database connection pooling?

2003-01-12 Thread David Boyer
Instead of predefining connections in either server.xml or another file (such as using DBCP or DBPool), is it possible to have connection pools created on-the-fly? For example in IIS 5.0 under Windows 2000, database connections are automatically pooled. When an ASP requests a database connection,

OT: what source code control system?

2003-01-10 Thread David Boyer
We have a staff of 8-10 student employees and a couple full time staffers that write desktop and web applications or their supporting components. We're mostly using Visual Basic and MS Access for desktop apps and ASP (on IIS 5.0) for web apps, but I'm nudging everyone toward Tomcat/Java. I'd like

Re: Windows Service

2003-01-10 Thread David Boyer
I believe there is a tomcat.exe in the /bin folder of the Tomcat 4 distribution for the purpose you mention. - Original Message - From: Jeffrey Winter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 10, 2003 11:32 AM Subject: Windows Service Sorry about

more on source code control (like CVS)

2003-01-10 Thread David Boyer
Does anyone know of a JSP- or Servlet-based application that'll allow browsing of a CVS repository? If I host a CVS server locally for our developers, I'd like to use our existing platform (Tomcat) to allow browsing (kind of like a JSP/Servlet-based version of ViewCVS). -- To unsubscribe,

Re: more on source code control (like CVS)

2003-01-10 Thread David Boyer
, 2003 2:54 PM Subject: Re: more on source code control (like CVS) On 10 Jan 2003 at 14:50, David Boyer wrote: Does anyone know of a JSP- or Servlet-based application that'll allow browsing of a CVS repository? If I host a CVS server locally for our developers, I'd like to use our existing

Help Please! Q: Perl Compatible Regular Expressions and urimapping

2003-01-09 Thread David Boyer
I'm using the 2.0.2 version of isapi_redirector2.dll which can use regex pattern matching, and it looks like it's based on PCRE 3.9. I've been trying for most of the afternoon to successfully use regex's in my workers2.properties file, but I've had no success. Any thoughts on the PCRE that

question about session behavior

2003-01-07 Thread David Boyer
When I shut down Tomcat, shouldn't HttpSessionListener.sessionDestroyed() be called for each existing session? When users authenticate to my application, I store their username and encrypted password in a database where it's associated with their session. When the session is destroyed, I have

Re: What is the difference between...

2003-01-06 Thread David Boyer
! The mirror I was redirected to (http://apache.oregonstate.edu/jakarta/tomcat-4/binaries/) doesn't include that extra bit of info. Glenn. - Original Message - From: David Boyer Subject: Re: What is the difference between... Date: Fri, 03 Jan 2003 17:25:59 -0800 Check out

Re: JSPs throwing exceptions under new installation of Tomcat

2003-01-04 Thread David Boyer
I beleive you need to have tools.jar available to Tomcat. Either specify it in your classpath, or put it in one of the 'lib' folders within %tomcat_home%. - Original Message - From: Tammer Salem To: Tomcat Users List Sent: Saturday, January 04, 2003 5:42 PM Subject: JSPs

Re: What is the difference between...

2003-01-03 Thread David Boyer
Check out the bottom of this page: http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.18/bin/ - Original Message - From: Twiggs, Glenn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 03, 2003 5:04 PM Subject: What is the difference between...

problem: cannot use Tomcat's container managed securitythrough ISAPI filter

2002-12-30 Thread David Boyer
I'm using security-constraint to restrict access to the manager and other applications. I've had no trouble using both Memory and JNDI realms when accessing through the Coyote HTTP/1.1 Connector, but not when I use IIS and the isapi_redirector.dll (or isapi_redirector2.dll). With the ISAPI filter,

Q: SingleThreadModel and Tomcat

2002-12-09 Thread David Boyer
It seems like different servlet containers vary in how they approach access to classes that implement SingleThreadModel. When multiple threads want to access the class, some servlet containers will create multiple instances of the class while others queue the threads for exclusive access to a

Re: I don´t understand the objective of this open list !

2002-12-09 Thread David Boyer
From: Mike DiChiappari [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Monday, December 09, 2002 6:37 PM Subject: RE: I don´t understand the objective of this open list ! Notice that I didn't ask a question JOEL BERGMAN (are you a Jakarta developer). I simply chimed in when

Q: Limits to JSP/Servlet Execution time?

2002-12-06 Thread David Boyer
In IIS, we set the ASP script timeout to be 30 seconds and ASP scripts are automatically terminated after 30 seconds. Otherwise, enough requests to a poorly written script could eventaully consume all threads for the scripting engine. Is there a way to do this with JSP/Servlets in Tomcat, at

Q: java.util.regex uris in workers2.properties?

2002-12-02 Thread David Boyer
isapi_redirector2.dll v2.0.2 mentions this as one of the changes: Add the regular expressions to uriMap. The regex uris are differentiated to normal one by starting with dollar ($) sign. I've tried looking through the C++ source for the ISAPI filter, the tomcat dev archives, the cvs

Re: IIS on W2k + tomcat 4.1.12

2002-11-25 Thread David Boyer
I didn't have too much trouble getting the 2.01 filter to work with Tomcat 4.1.12 and IIS 5. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html I don't think you need urimapworkers.properties. In addition to the ISAPI dll, all I'm using is workers2.properties and

uri mapping question

2002-11-22 Thread David Boyer
I'm using the isapi_redirector2.dll (v2.01) and I've got it working, with one exception: I want to map a uri such as [uri:/students/*/servlet/*] so that it includes all subfolders in the /students directory. Is this possible? I know I could create a separate mapping for each student, but we

Re: A performance issue about Apache/Tomcat on NT.

2002-06-14 Thread David Boyer
If you suspect a memory leak, you can us perfmon to monitor specific processes. Select process as the performance object, then monitor the Pool Paged Bytes and Pool Non-paged Bytes of the suspected processes. [EMAIL PROTECTED] 06/14/02 10:46AM Hi all: I'm new to this email list, and

  1   2   >