RE: Tomcat and Apache by Proxy http connections slow but https fast

2004-08-18 Thread Duncan Houston
Thanks for the help - problem solved! Was running a box with LVS, and running DNS. I don't think all the zone files were there, but stopping named worked like a charm - all webapps fast! What a stupid error (on my part). -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED]

Re: RE: Tomcat and Apache by Proxy http connections slow but https fast

2004-08-18 Thread mlist
ATTENTION: THIS IS AN AUTOMATED RESPONSE. DO NOT REPLY TO THIS MESSAGE. If you want to end your subscription, please use this link: http://www.nethugs.com/unsubscribe.shtml If you want to subscribe, please use this link: http://www.nethugs.com/whysubscribe.shtml If you need to contact a live

Re: Class loader looks in Tomcat work directory and not in webapp directory for resources

2004-08-18 Thread Oliver Kuntze
Hi QM, thanks a lot for the prompt answer! Unfortunately I have to provide some application resources in a JAR. I am using hibernate in my persistence layer. I generate my persistent classes and their O/R mappings directly from the database and deploy that stuff to my app. If you don't want to

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Hi again, you are right with the 2Gb, sorry. It's leaving a netto of 1.6 GB ish for Tomcat here. My problem was referring to the clustersection of server.xml rather than the standard IP: mcastAddr = the multicast address, has to be the same for all the nodes mcastPort = the multicast port,

Logging problem SOAP based web service

2004-08-18 Thread timo.m.jaakola
Hi, I have a SOAP based web service running on tomcat 4.1.30. This service should write a log containing client's IP address and some attributes from SOAP-message body (inside SOAP envelope). Is this possible somehow? I suppose Tomcat's access logs cannot read attributes from SOAP envelope

How to submit new Tomcat documentation updates.

2004-08-18 Thread Allistair Crossley
Hi Guys So far, I have been able to checkout from CVS the various modules for Tomcat to look at the source code. I cannot find a clear step-by-step for how one would get the latest documentation, e.g Jasper HowTo, and then submit changes to it. If anyone has the time to detail a few steps (you

Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? [Auf Viren geprüft]

2004-08-18 Thread Frerk . Meyer
Subject: Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? Background: = I'm writing a web front-end to a back-end system which has 1000 user accounts and each user has different rights (ACIs, ACLs) in that back-end (think

Re: explorer can't open protected files but mozilla can

2004-08-18 Thread Jon Wingfield
This has come up several times recently. It's all to do with how IE handles content. It seems, whenever a plug-in is used (excel, word, acrobat etc) IE has to download the content to its cache before the plug-in can be passed the content. So, when content is served from a protected area Tomcat

JMX Timer

2004-08-18 Thread Erik Weber
Hello. I searched the archives at http://mikal.org/interests/java/tomcat/archive/search?search=JMX+Timer but found no results. I am porting a small Servlet application from WebLogic 8.x to Tomcat 5.x. The application has a Servlet context listener that instantiates and starts a JMX Timer

Odd characters inserted in response after JSPC

2004-08-18 Thread Allistair Crossley
Hi Guys I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the very start of most of my my responses which use a certain template JSP ...  I use 2 layouts, one for home and one for other pages. This problem is not happening on the home page although both that

Setting PHP for Apache Tomcat

2004-08-18 Thread david.brossard
Is it actually possible to configure Tomcat to work with PHP? If so, how? the PHP installation guide refers to httpd.conf or srm.conf neither of which exist in Tomcat. Thanks for your input, David. - To unsubscribe, e-mail:

RE: Odd characters inserted in response after JSPC : more info

2004-08-18 Thread Allistair Crossley
OK, I just totally wiped the whole page jsp file and then ran JSPC and it generated 12 errors on a blank file complaining about unclosed string literals. Looking at the JAVA file JSPC generated for the blank JSP you can see it is still trying to output 3 chars but don't know why. package

Re: Setting PHP for Apache Tomcat

2004-08-18 Thread Tim Funk
http://wiki.apache.org/jakarta-tomcat/UsingPhp -Tim [EMAIL PROTECTED] wrote: Is it actually possible to configure Tomcat to work with PHP? If so, how? the PHP installation guide refers to httpd.conf or srm.conf neither of which exist in Tomcat.

Re: Logging problem SOAP based web service

2004-08-18 Thread Tim Funk
You might need to use a Filter to stuff the things you need to log into the ServletRequest. Then you can use this: http://marc.theaimsgroup.com/?l=tomcat-userm=109273888725607w=2 -Tim [EMAIL PROTECTED] wrote: Hi, I have a SOAP based web service running on tomcat 4.1.30. This service should write

Re: How to submit new Tomcat documentation updates.

2004-08-18 Thread Tim Funk
Look at the xdocs directories. All the docs are xml files. Then they get passed through an xslt stylesheet. -Tim Allistair Crossley wrote: Hi Guys So far, I have been able to checkout from CVS the various modules for Tomcat to look at the source code. I cannot find a clear step-by-step for how

Re: Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? [Auf Viren geprüft]

2004-08-18 Thread Tim Funk
It sounds like you'll need to create your own realm. You might be able to extend JNDIRealm. You cannot run filters on /j_security_check. The spec says so. Websphere might allow it - but tomcat doesn't. -Tim [EMAIL PROTECTED] wrote:

Re: Odd characters inserted in response after JSPC

2004-08-18 Thread Tim Funk
I had the same problem working with a Unicode file. I don't know what my editor was doing - I just used vi and killed the character and all worked well. -Tim Allistair Crossley wrote: Hi Guys I have compiled all my JSPs with JSPC. I have found that 3 odd characters occur at the very start of

Re: Tomcat clustering

2004-08-18 Thread Michael Echerer
Srinivas Rao Ch wrote: I am getting problems in configuring my tomcat for clustering. Nodes are not recognizing each other. mcastAddr has the same IP for all the nodes. Can someone tell what this property is for. My tcpListenAddress is 127.0.0.1 for all the nodes but port is different. In my

RE: Setting PHP for Apache Tomcat

2004-08-18 Thread david.brossard
I'm running Win2k. Should I have to use Cygwin to install PHP then? http://wiki.apache.org/jakarta-tomcat/UsingPhp -Tim [EMAIL PROTECTED] wrote: Is it actually possible to configure Tomcat to work with PHP? If so, how? the PHP installation guide refers to httpd.conf or srm.conf neither of

Re: Request

2004-08-18 Thread craigmcc
Thank you for your request, your details are attached! +++ Attachment: No Virus found +++ MessageLabs AntiVirus - www.messagelabs.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: Class loader looks in Tomcat work directory and not in webapp directory for resources

2004-08-18 Thread Oliver Kuntze
Found the reason for my problem. You cannot put app resources in a JAR and put it in the webapp class path (the class loaders will not find it there because the class loader in command looks in the tomcat work directory for JARs). The reason why the ZIP was not found is the ever present JVM

How to get mod_jk2 to pass (environment?) variables

2004-08-18 Thread ohaya
Hi, My apologies for continuing to post similar messages, but I'm still not able to get my JSPs to retrieve any of the information from client certificates in my Apache+Tomcat+mod_jk2 server. I've been testing like crazy for 2-3 days now, and going nowhere fast. At this point, I'm getting more

Re: JMX Timer

2004-08-18 Thread Erik Weber
Well I got the JMX Timer running in Tomcat, and I did what I suggested -- I just instantiated a javax.management.timer.Timer, configured it and started it. I did not register the Timer with any type of JMX server, or anything like that. I would appreciate any insight on whether that's

Re: Setting PHP for Apache Tomcat

2004-08-18 Thread Tim Funk
I have no clue - I only know enough about this topic to copy/paste a URL ;) -Tim [EMAIL PROTECTED] wrote: I'm running Win2k. Should I have to use Cygwin to install PHP then? http://wiki.apache.org/jakarta-tomcat/UsingPhp -Tim [EMAIL PROTECTED] wrote: Is it actually possible to configure Tomcat

Re: Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? [Auf Viren geprüft]

2004-08-18 Thread Frerk . Meyer
Thanks Tim Funk for the quick answer, In FormAuthenticator there is a line: principal = context.getRealm().authenticate(username, password); It returns an interface java.security.Principal The Principal stores the username (uid), not the password

Re: Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? [Auf Viren geprüft]

2004-08-18 Thread Tim Funk
http://issues.apache.org/bugzilla/show_bug.cgi?id=21795 You can always write your own Realm which creates your own custom Principal which can store the password in it. This does require some casting but not uncommon. -Tim [EMAIL PROTECTED] wrote: Thanks Tim Funk for the quick answer, In

Subclassing DefaultServlet

2004-08-18 Thread Frans Flippo
Hi, I've added some functionality to DefaultServlet by subclassing it (i.e. we need to do some special processing to certain URLs, for others I will just call super.doGet(...)). I compiled the DefaultServlet subclass against Tomcat's servlets-default.jar in server/lib and deployed it in my web

Re: Logging problem SOAP based web service

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 11:46:19AM +0300, [EMAIL PROTECTED] wrote: : I have a SOAP based web service running on tomcat 4.1.30. This service should : write a log containing client's IP address and some attributes from : SOAP-message body (inside SOAP envelope). Is this possible somehow? What's

Re: Class loader looks in Tomcat work directory and not in webapp directory for resources

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 01:26:07PM +0200, Oliver Kuntze wrote: : The reason why the ZIP was not found is the ever present JVM problem with : %20 in URLs (as in Tomcat%205 ;-). Will try URL decoding and if that does : not work rename the tomcat base dir to Tomcat5.0. Thanks for posting your

Re: Alternative causes of msg 404 resource not avaialble?

2004-08-18 Thread Jeffrey Barnett
Yes to both no luck. I'm thinking that somehow WEB-INF/classes is not getting into the CLASSPATH. Is there a way to check this at run time? Dennis Dai wrote: Have you tried reloading the context or restarting tomcat on your department test server? On 8/17/2004 2:04 PM, Jeffrey Barnett

Re: Subclassing DefaultServlet

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 02:42:06PM +0200, Frans Flippo wrote: : I've added some functionality to DefaultServlet by subclassing it : [snip] : When I first tried it I got a ClassNotFoundException for DefaultServlet, : probably due to the fact that the Tomcat server and the web applications : use

Weight based load balancing

2004-08-18 Thread Srinivas Rao Ch
I want to implement weight based load balancing in my application. Usually what parameters are taken into consideration in weight based LB. I have cluster node's processor(s), RAM in my mind. And, network spped of the cluster node also. If you have any other in mind please share them with me.

Re: Weight based load balancing

2004-08-18 Thread Tim Funk
AFAIK - There isn't anythng like this yet. But there is work on mod_proxy in httpd-dev which looks promising for this functionality. (But that functionality won't be here in the near future) A quick alternative is to use to look at the balancer webapp in tomcat 5 and play with its algorithm

RE: Alternative causes of msg 404 resource not avaialble?

2004-08-18 Thread Shapira, Yoav
Hi, Well, make sure you make the same servlet and servlet-mapping entries in the web.xml on the department test server ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Jeffrey Barnett [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 8:48 AM To: Tomcat

RE: Class loader looks in Tomcat work directory and not in webapp directory for resources

2004-08-18 Thread Shapira, Yoav
Hi, That just seems to be where Tomcat5 deploys JARs from WAR files... probably for easy access. The reasons are more complex and with more history than that. There is a long-standing issue (of sorts -- it's not an issue to some people, like me, but others complain persistently ;)) with

RE: Weight based load balancing

2004-08-18 Thread Srinivas Rao Ch
AFAIK - There isn't anythng like this yet. But there is work on mod_proxy in httpd-dev which looks promising for this functionality. (But that functionality won't be here in the near future) I am not using apache web server, using Tomcat alone. A quick alternative is to use to look at the

RE: Setting PHP for Apache Tomcat

2004-08-18 Thread Shapira, Yoav
Hola, Yeah, you need Cygwin at this point I think ;) Yoav Shapira Millennium Research Informatics -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 8:01 AM To: Tomcat Users List Subject: Re: Setting PHP for Apache Tomcat I have no clue - I

Re: Weight based load balancing

2004-08-18 Thread Peter Lin
What kind of weight based load balancing are you thinking of? the type of load balancing I've used is based on one of several. 1. ping time 2. preset load factor - usually based on hardware 3. system load - the weight is calculated using a hash of memory and cpu usage in situations where all

Re: Weight based load balancing

2004-08-18 Thread Peter Lin
sounds like you already have an idea of how to implement it and just want feedback on what parameters it should consider. from past experience, many people use a simple Hash when all the system have the same hardware. When it is not, I would think memory and network IO would be the biggest

Re: Container managed security in tomcat 5.x, need j_password in struts web app, ServletFilter or IntermediateServlet? [Auf Viren geprüft]

2004-08-18 Thread Frerk . Meyer
Thanks again Tim Funk. Your answer is another solution I didn't think of and it sounds standard conform and secure and clean to me. I'll develop my own JNDIRealm / JAASRealm and my own Principal, so I get not only the name and roles of the user out of the directory but every other information

RE: How to submit new Tomcat documentation updates.

2004-08-18 Thread Shapira, Yoav
Hi, As Tim pointed out, docs are xdocs (.xml files), mostly in the webapps/docs directory of the jakarta-tomcat-catalina CVS module. You can check them out, and submit patches according to the normal Jakarta process (http://jakarta.apache.org/site/source.html#Patches). Many people have done so

RE: Subclassing DefaultServlet

2004-08-18 Thread Shapira, Yoav
Hi, Can you just use a Filter and save yourself a ton of trouble? Yoav Shapira Millennium Research Informatics -Original Message- From: Frans Flippo [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 8:42 AM To: Tomcat Users List Subject: Subclassing DefaultServlet Hi, I've

Fwd: Tomcat + ssl problems

2004-08-18 Thread Lloyd Hopper
Hello, I am re-submitting this mail as I have had absolutely no response as of yet - is there really no one that has come across this before? I have seen similar problems both here and via Google groups but no really helpful solutions. Once again, please could somebody point me in the right

RE: Setting PHP for Apache Tomcat

2004-08-18 Thread Keates, Mark
Hi, Cygwin isn't necessarily required, I have previously used php 4.2.2 with Apache 2.0.39, but other combinations should be straight forward enough to get up and running. http://www.php.net/downloads.php -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 18 August

RE: Setting PHP for Apache Tomcat

2004-08-18 Thread Keates, Mark
Sorry, my mistake, you weren't using Apache, just Tomcat :) -Original Message- From: Keates, Mark Sent: 18 August 2004 14:27 To: 'Tomcat Users List' Subject: RE: Setting PHP for Apache Tomcat Hi, Cygwin isn't necessarily required, I have previously used php 4.2.2 with Apache 2.0.39,

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Filip Hanik \(lists\)
no, the address already in use is tcpListenPort, that has to change if you run two instances on the same machine Filip -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 2:51 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: AW:

Re: Subclassing DefaultServlet

2004-08-18 Thread John Villar
What Yoav (Cicer0 on irc as a guess ;-) ) says is true if you need special processing based on the url, implementing a filter is the most straightforward, simple and elegant way. By no means you should need to modify the tomcat codebase for a special app, because that way you're ensuring

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Shakeel
Can any one quickly tell the comparison of running tomcat as a service or without a windows service. I mean what are the benifits of running tomcat as a windows service. S H A K E E L A H M A D -Original Message- From: Filip Hanik (lists) [mailto:[EMAIL PROTECTED] Sent: Wednesday,

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Dale, Matt
The benefits are that you can get it to start and stop with the machine and a non tomcat admin can start and stop it using the services. It can also be remotely started if you have the right tools. And it doesnt require a user to be logged in for the service to remain running. -Original

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Shakeel
Thanks for a quick reply. Is it only the benifit , I mean I have pc anywhere or similar tools, or even I dont need the smart load/unload as a service. I want to know the comparison based on Memory usage, performance at runtime etc. S H A K E E L A H M A D -Original Message- From:

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Dale, Matt
Its the same JRE and java classes so i'd imagine there is no difference. Ta Matt -Original Message- From: Shakeel [mailto:[EMAIL PROTECTED] Sent: 01 August 2004 15:12 To: Tomcat Users List Subject: RE: Tomcat Clusterin Multicast Multiinstances Thanks for a quick reply. Is it only the

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Shakeel
Ok, can you tell how to set the JAVA_OPTS values, I mean JVM's max/min memory etc. S H A K E E L A H M A D -Original Message- From: Dale, Matt [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 7:10 PM To: Tomcat Users List Subject: RE: Tomcat Clusterin Multicast

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Here's a little batch I modified from the service-batch that comes with TC5. You can mod it to your needs.Find the mem part in the middle. Remember that there might be CR/LF added by the mailer. - @echo off rem set SERVICE_NAME=keine Leer|_|-|.; nur Alpahnum!! set MEM_MIN=64 set

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
Forgot to mention, that is for multiinstance-services (Which this thread was all about at the beginning...). For single instance, you don't need the CATALINA_BASE stuff... just compare it to the standard batch ... Take a closer look to the line... %EXECUTABLE% //US//%SERVICE_NAME% --JvmOptions

RE: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Shakeel
So nice of this , can I know hard and fast comparison between running tomcat as a service and without a service. For example if one has to decide to run tomcat as a service and for years she was running without a service then how can one justify to fellow developers. S H A K E E L A H M A D

Error 1067

2004-08-18 Thread Amit Jana
I installed Tomcat 3.2.4 on a Windows 2000 Prof SP2 box,, specifiedthe correct JAVA_HOME and TOMCAT_home in the wrapper.properies andworkers.properties, and created an service, all according toinstructions found in this mail archive. But I cannot start theJakarta NT service; I get an a

error 1067

2004-08-18 Thread Amit Jana
I installed Tomcat 3.2.4 on a Windows 2000 Prof SP2 box,, specifiedthe correct JAVA_HOME and TOMCAT_home in the wrapper.properies andworkers.properties, and created an service, all according toinstructions found in this mail archive. But I cannot start theJakarta NT service; I get an a

Re: Class loader looks in Tomcat work directory and not in webapp directory for resources

2004-08-18 Thread Jacob Kjome
It is isn't really meant to be part of the classpath, don't put it in WEB-INF/lib. Put it in some other location under WEB-INF. Should work fine. Tomcat extracts resources (in the classpath) to its work directory. I don't entirely know why, but it might be for performance reasons? Anyway, if

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Bjoern . Andersen
When the Tomcat really SERVES someone, as in real SERVERS, there are numerous reasons why you want to run it as a SERVICE. When you use Tomcat as a Developer in a test or integration state on your workstation, I think it doesn't matter if run as service or from command line. Main use of services

Windows XP IIS 5.1 HTTP Post Problem with mod_jk

2004-08-18 Thread Eric Jacobson
Has anyone else run into a problem where mod_jk does not work right with IIS 5.1 on Windows XP Professional? I am trying to connect Tomcat to the IIS that is part of XP Pro and it will work for HTTP GET requests but it does not work for HTTP POST requests. I can get this same configuration to

KYLIE WK WONG/PTJ/MS/PHILIPS is out of the office.

2004-08-18 Thread kylie . wk . wong
I will be out of the office starting 2004-07-27 and will not return until 2004-09-27. I will reply to your message upon my return. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

Re: T5 ignoring mime mapping

2004-08-18 Thread Andrew Shirk
As I stated, I used the jsp:directive syntax. You'd think the spec would be a little more clear about this. It's pretty easy to miss that brief sentence while scanning for answers... Thanks for the help. Andrew At 09:53 PM 8/17/2004, you wrote: JSPs don't use the mime-mappings from web.xml (per

Re: Fwd: Tomcat + ssl problems

2004-08-18 Thread Hassan Schroeder
Lloyd Hopper wrote: I am re-submitting this mail as I have had absolutely no response as of yet - is there really no one that has come across this before? I haven't (and I'm running Tomcat/SSL), but... Firstly, the keytool will not work properly when generating a new key. right off the bat,

jsp:include page and Dynamic Resource does not work

2004-08-18 Thread stefan
Hello, I want to include the response of a Dynamic Resource (implemented as a Servlet) in my JSP, but even the servlet isn't called. jsp-snipplet: jsp:include page=%= request.getContextPath() + /viewResource % flush=true jsp:param name=filename value=incl.txt/ /jsp:include snipplet from

Tomcat stops serving pages

2004-08-18 Thread gerardo
Hi, I am testing a number of servlet links which work at first, but after some time, selecting any one of them throws the following exception: [JPivot] 11 ago 2004 23:30:42,926 ERROR [Session 34247B3CA927EBE9B1212D64A7B4BF00] com.tonbeller.wcf.controller.RequestFilter#doFilter: Error

RE: Server JVM with service startup

2004-08-18 Thread Robert Hunt
You could use SRVANY.exe (typically found in the WinNT/2K/XP Resource Kit) as it provides the shell (and I use the term loosely) to run any .bat, .cmd or .exe as an NT/2K/XP service. You'd also like to use SRVINSTW.exe (also a ResKit item) to define the service via GUI. Unfortunately, then it

Re: Alternative causes of msg 404 resource not avaialble?

2004-08-18 Thread Jeffrey Barnett
Answering my own question for the benefit of anyone searching the archive. Here is what was caught in the log: 2004-08-18 13:29:56 Starting $Id: ExportSerials.java,v 1.2 2004/08/16 21:01:41 dir = /export/home/tomcat/jakarta-tomcat-4.1.12/webapps/SerialsAnalysis/ Init Error Name jdbc is not bound

RE: Alternative causes of msg 404 resource not avaialble?

2004-08-18 Thread Shapira, Yoav
Hi, dir = /export/home/tomcat/jakarta-tomcat-4.1.12/webapps/SerialsAnalysis/ Init Error Name jdbc is not bound in this Context ... So the reason the servlet class was not found was that it was never initialized. Next question, what does it mean that jdbc is not bound? It means a configuration

Re: Tomcat stops serving pages

2004-08-18 Thread Janko Harej
I don't know if this will help, but got similar error messages when I used taglibs for resizing images (I don't remember which). I've solved problem with adding set CATALINA_OPTS=-Djava.awt.headless=true in catalina.sh by Janko [EMAIL PROTECTED] pravi: Hi, I am testing a number of servlet

Re: Subclassing DefaultServlet

2004-08-18 Thread Frans Flippo
Hi John, I did consider implementing a filter, even started writing the code, but then decided against it, although I can't remember why right now. I'm sure I'll remember in the morning :) Maybe it's something that can be solved, though. You do make a case for writing a filter instead of

Tomcat 5.0.27 Win2k sp4, service.bat JVM Options

2004-08-18 Thread Gary Hirschhorn
I made the following changes to customize service.bat for 5.0.27 running under Windows XP 1) To allow allow compilation of JSPs, changed PR_CLASSPATH to include J2SDK tools.jar: Before: set PR_CLASSPATH=%CATALINA_HOME%\bin\bootstrap.jar After: set

wrong name bug

2004-08-18 Thread Xeth Waxman
Hello all: I am getting an error with my jsp page that I can't figure out - saw a couple things on google about it, but no answers yet. My application is named CFCAdmin, and has a jsp in the folder named index.jsp. When I point my broswer to http://localhost:8080/CFCAdmin, I get the following

Re: wrong name bug

2004-08-18 Thread John Villar
As i can guess from your error report is called Index.jsp and not index.jsp. the name is case sensitive. Verify that it isn't written with a capital I Xeth Waxman escribió: Hello all: I am getting an error with my jsp page that I can't figure out - saw a couple things on google about it,

recursive tld problem in tag files?

2004-08-18 Thread Vincent Bumgarner
I am trying to use JSP Documents and have run into a snag. If I use a tld for tag files, which I want to do so that I can mix tag-file entries and tag entries in the same namespace, and I reference that tld from inside a tag file defined in that tld, tomcat ends up in a loop never to return. If

Re: wrong name bug

2004-08-18 Thread Wendy Smoak
From: Xeth Waxman [EMAIL PROTECTED] javax.servlet.ServletException: org/apache/jsp/index_jsp (wrong name: org/apache/jsp/Index_jsp) If you delete all the work files and re-visit the page, it should go away. Stick to lowercase names, probably what happened is someone edited the page and changed

RE: wrong name bug

2004-08-18 Thread Pugalia, Jai P (JP)
I have an application war file which includes META-INF/context.xml. When I copy this war file into Tomcat webapps directory, Tomcat 5.0 tries to auto deploy the application. At this time, it should ideally create webapp-name.xml under Catalina\Engine\host directory. Instead it tries to create a

Re: [OT] Re: Have you implemented a Java server faces site?

2004-08-18 Thread Hiroshi Iwatani
Sorry for being late for replying. Parts of our project which use JSF use only its safa and proven features like value-binding and method-binding for components. We don't think we need customize renderers, components, and/or view technology for our simple and mundane app structure. JSF is quite

re: tomcat deploys context.xml as a directory

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 02:54:37PM -0700, Pugalia, Jai P (JP) wrote: For starters, I've changed the subject of your message to reflect its content. Please post *new* messages to the list unless you're replying to a specific topic. : When I copy this war file into Tomcat webapps directory,

Building mod_jk2 and pointers to where to modify it...

2004-08-18 Thread ohaya
Hi, I am not getting anywhere with a problem that I'm having with trying to access/retrieve SSL client certificate information with Apache+Tomcat+mod_jk2, so I'm thinking that my only avenue for resolving this problem may be to build mod_jk2 binary myself, possibly modifying the code to add some

SSL in tomcat standalone with virtual hosts

2004-08-18 Thread RJ
I've tried searching the archives, but haven't found a good answer to this. I've got standalone tomcat (5.0.27) with connectors for 80 and 443, and several virtual hosts (each with their own IP). I got my first SSL certificate installed fine. However, I can't figure out how to put additional

Re: tomcat deploys context.xml as a directory

2004-08-18 Thread Dennis Dai
On 8/18/2004 3:16 PM, QM wrote: On Wed, Aug 18, 2004 at 02:54:37PM -0700, Pugalia, Jai P (JP) wrote: For starters, I've changed the subject of your message to reflect its content. Please post *new* messages to the list unless you're replying to a specific topic. : When I copy this war file into

RE: tomcat deploys context.xml as a directory

2004-08-18 Thread Pugalia, Jai P (JP)
Thanks for providing the information about the bug and the patch. Do we know when this would get included in an official version of Tomcat. The version I am using is Tomcat 5.0.27. Also thanks for updating the subject. JP -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED]

Is there a way to set the size of ResultSet from MS SQL Server

2004-08-18 Thread Daxin Zuo
I use JDBC in JSP/Java with MS SQL Server. Is there a way to set the Fetch Size (set to 10, 100,..) of ResultSet (as ADO CacheSize in ASP)? With Oracle, we can set it in program. Thanks. - To unsubscribe, e-mail: [EMAIL

Re: tomcat deploys context.xml as a directory

2004-08-18 Thread Dennis Dai
It's not in 5.0.27 yet, but will be in the next release. At the meantime, just copy the HostConfig.class (from bugzilla page) to server/classes/org/apache/catalina/startup. On 8/18/2004 4:42 PM, Pugalia, Jai P (JP) wrote: Thanks for providing the information about the bug and the patch. Do we

RE: tomcat deploys context.xml as a directory

2004-08-18 Thread Pugalia, Jai P (JP)
I copied and re-deployed my application without any issues. Thanks, JP -Original Message- From: Dennis Dai [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 18, 2004 5:10 PM To: Tomcat Users List Subject: Re: tomcat deploys context.xml as a directory It's not in 5.0.27 yet, but will

AW: Tomcat Clusterin Multicast Multiinstances

2004-08-18 Thread Shawn
Hello, This thread hijacked the original about Clustering. For courtesy to others trying to follow the original thread, it would be appreciated if you would start an original thread under your topic. Not only that, but trimming the unneeded context is nice as well. Please note: I am not any kind

Tomcat dies immediately

2004-08-18 Thread ohaya
Hi, I'm trying to setup Tomcat 5.0.27 to talk to Apache using mod_proxy on Win2K server. When I add the following to server.xml to setup the proxy port: Connector className=org.apache.catalina.connector.http.HttpConnector port=8088 proxyport=9091 minProcessors=5 maxProcessors=75

Re: Odd characters inserted in response after JSPC

2004-08-18 Thread Joel
On Wed, 18 Aug 2004 11:32:02 +0100 (B"Allistair Crossley" [EMAIL PROTECTED] wrote (B (B I have compiled all my JSPs with JSPC. I have found that 3 odd (B characters occur at the very start of most of my my responses which (B use a certain template JSP ... (B (B $B~=%=(B (B (BEvery

Re[2]: Setting PHP for Apache Tomcat

2004-08-18 Thread Eugene
Hi! I have two different configurations with PHP 4.3.4 and 5 on two different Win 2003 servers, I've installed it without Cygwin. If you will install it from pre-compiled mod_perl 1.0 with Apache 2 distribution - then yes you need it, but its not necessary. Also you maybe need nmake if you want

Re: How to enable mod_jk2 logging or trace problem

2004-08-18 Thread Eugene
Hello ohaya, try this: LoadModule jk2_module path/to/your/modules/mod_jk2.so IfModule mod_jk2.c JkSet config.file path/to/your/workers2.properties /IfModule Regards Tuesday, August 17, 2004, 9:16:52 PM, you wrote: o Hi, o I had posted a msg earlier today about a problem I'm having where

Re: Tomcat dies immediately

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 10:00:43PM -0400, ohaya wrote: : I'm trying to setup Tomcat 5.0.27 to talk to Apache using mod_proxy on : Win2K server. : When I add the following to server.xml to setup the proxy port: : [snip] : and try to start Tomcat, a DOS window flashes up for a few seconds, then :

Re: Is there a way to set the size of ResultSet from MS SQL Server

2004-08-18 Thread QM
On Wed, Aug 18, 2004 at 04:50:32PM -0700, Daxin Zuo wrote: : I use JDBC in JSP/Java with MS SQL Server. : Is there a way to set the Fetch Size (set to 10, 100,..) of ResultSet (as : ADO CacheSize in ASP)? This sounds like a configuration specific to your database, either with a custom SQL

Re: Mail Delivery (failure tomcat-user@jakarta.apache.org)

2004-08-18 Thread mlist
ATTENTION: THIS IS AN AUTOMATED RESPONSE. DO NOT REPLY TO THIS MESSAGE. If you want to end your subscription, please use this link: http://www.nethugs.com/unsubscribe.shtml If you want to subscribe, please use this link: http://www.nethugs.com/whysubscribe.shtml If you need to contact a live

RE: Is there a way to set the size of ResultSet from MS SQL Serve r

2004-08-18 Thread Brad McEvoy
something like this should do the trick ... PreparedStatement pstmt = con.prepareStatement(sql,ResultSet.TYPE_FORWARD_ONLY,ResultSet.CONCUR_READ_O NLY); pstmt.setFetchSize(100); ResultSet rs = pstmt.executeQuery(); ... -Original Message- From: QM [mailto:[EMAIL PROTECTED] Sent:

Re: Tomcat dies immediately

2004-08-18 Thread ohaya
QM wrote: On Wed, Aug 18, 2004 at 10:00:43PM -0400, ohaya wrote: : I'm trying to setup Tomcat 5.0.27 to talk to Apache using mod_proxy on : Win2K server. : When I add the following to server.xml to setup the proxy port: : [snip] : and try to start Tomcat, a DOS window flashes up for a

photos

2004-08-18 Thread tomcat-user
This message was verified by the filtering system of our mail server. Original message was replaced by this one by the following reason : *** A suspicious file (executable code) was found in the message ! Original message had the following attached files : (X-FILE ??? ) :