Re: Webdav Webfolder issue when container security enabled

2005-04-01 Thread Mark Thomas
Put together some full step-by-step instructions (from a clean install of 4.1.x or 5.5.x) and I'll take another look. Mark Fernando Salazar de Paz wrote: Another thing I have problems using tcpmon from Axis. "Index Out of Bounds exceptions" when I put the files, and so on. I hav

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
e might see a little bit of a performance increase. If the testing works out and our apps benchmark well under Tomcat we will move our production servers to Tomcat 5 exclusively. This is why I needed to be sure I could move the SSL certs between the two servers. Thanks, -Mark -Original Messag

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
Thanks, the link you provided allowed me to get it imported correctly. This should go on a FAQ. Thanks again, -Mark -Original Message- From: Mikhail Kruk [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 3:42 PM To: Tomcat Users List Subject: RE: SSL configuration question

RE: SSL configuration question

2005-04-01 Thread Faine, Mark
. Thanks, -Mark -Original Message- From: Mikhail Kruk [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 7:45 AM To: Tomcat Users List; Hein Behrens Subject: Re: SSL configuration question > I thought the two are not related my key is stored in the java > keystore. I did everythin

RE: Compiling JK under Solaris

2005-04-01 Thread Faine, Mark
I've compiled it for Solaris 8. You could try mine if you think it might work. -Mark -Original Message- From: Steven Pannell [mailto:[EMAIL PROTECTED] Sent: Friday, April 01, 2005 4:24 AM To: 'Tomcat Users List' Subject: Compiling JK under Solaris Hi, Has anyone ever

WAR files and web.xml

2005-04-01 Thread Mark
I have a question concerning the generation of a war file and my web.xml file. I want to create a WAR file for my web application using Ant, and place my web.xml file into the WAR file. The problem I have is that once the web.xml file is placed into the web.xml file, users/admins will not be able

RE: [OT] Proper way to open threads in a servlet

2005-04-01 Thread Mark Benussi
I would place your e-mail in a MailManager that queues the messages and sends them out on a TimerTask (Every 10 seconds???). Secondly from a pernickety perspective I would not have a Servlet doing any of what you described. At least place this code a level down in a Manager class that can coordina

Re: Webdav Webfolder issue when container security enabled

2005-03-31 Thread Mark Thomas
even with similar sized documents to the .pdf I was using. The webdav servlet hasn't changed significantly since 4.1.31 so I suggest trying 4.1.31 and seeing what results you get. Mark Fernando Salazar de Paz wrote: Using Windows XP SP 2 , Net Framework 1.1,MSDAIPP.DLL 11.0.5510.0 Tomca

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
Tomcat. Thanks, -Mark -Original Message- From: Sasisekar S Sundaram [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 2:43 PM To: Tomcat Users List Subject: Re: SSL configuration question It shows both "issued to" and "issue by" because it is a self signed c

RE: SSL configuration question

2005-03-31 Thread Faine, Mark
Thanks, I tried that before and got a permission error, but it works now. -Mark -Original Message- From: Hein Behrens [mailto:[EMAIL PROTECTED] Sent: Thursday, March 31, 2005 12:41 PM To: Tomcat Users List Subject: Re: SSL configuration question Answer to number 2 is edit your

SSL configuration question

2005-03-31 Thread Faine, Mark
meone explain what I have done wrong and how to correct it. 2. It must be run on port 8443 because I need to run it as a user other than root. How can I bypass this limitation and run it on the standard 443 port? Thanks, -Mark ---

Tomcat 5/Apache 2 in-process

2005-03-30 Thread Faine, Mark
start. Thanks, -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: caching pattern

2005-03-29 Thread Mark Benussi
: caching pattern data, or as they say in new england datur >From: "Mark Benussi" <[EMAIL PROTECTED]> >Reply-To: "Tomcat Users List" >To: "'Tomcat Users List'" >Subject: RE: caching pattern >Date: Tue, 29 Mar 2005 16:01:08 +0100 > >T

Re: BASIC Authentication for Custom Realm

2005-03-29 Thread Mark Thomas
Based on my own experience, the quickest way to work out what is happening will be to debug your way through it. See the FAQ for how to set this up: http://jakarta.apache.org/tomcat/faq/development.html Mark Mudumbai, Kalyan wrote: Hi All, I am trying to write a custom realm for my web

RE: caching pattern

2005-03-29 Thread Mark Benussi
The content or the data? -Original Message- From: Didier McGillis [mailto:[EMAIL PROTECTED] Sent: 29 March 2005 15:59 To: tomcat-user@jakarta.apache.org Subject: RE: caching pattern Are there any good examples of this? >From: "Mark Benussi" <[EMAIL PROTECTED]> >R

RE: caching pattern

2005-03-29 Thread Mark Benussi
If you are caching content, e.g. pages I would recommend using XSL to transform the data into html, or jsp if you need. At startup and then whenever it is changed. For data, implement a persistence pattern (Data extends BaseData class, Persistence extends BasePersistence class). Then for any data

Re: TC55 what server version of JDK

2005-03-28 Thread Mark Thomas
J2EE 1.4 can be thought of as just another library. It should work happily with a 1.5/5.0 JRE. Mark Ned La Celle wrote: Mark, Thanks for the response. But will the J2SE 1.5 JDK support the server functions like the J2EE 1.4 JDK ? Ned At 12:33 PM 3/28/2005, you wrote: The 1.5 (aka 5.0) JRE is

Re: Deployment of webapplication in tomcat 5.5

2005-03-28 Thread Mark Thomas
suryadevara dushyanth wrote: Hi, I am trying to deploy a web application in my tomcat 5.5 which I am using https port. I am new to deployment of applications in Tomcat5.5. Can anybody help me here? Yes. Reading the documentation would be a good place to start. Try http://jakarta.apache.org/tomcat/

Re: TC55 what server version of JDK

2005-03-28 Thread Mark Thomas
The 1.5 (aka 5.0) JRE is the one you need. Tomcat does not require J2EE to be installed. Mark Ned La Celle wrote: We are currently running Tomcat 4 on Solaris 8 using Java J2EE 1.4 SDK I have been asked to setup Tomcat 5.5 on Solarix 8 . When I installed it temporarily on my Windows server it

Re: unauthenticated 304s - final try

2005-03-27 Thread Mark Leone
the section on 401 response doesn't address this situation. This may have more to do with the server's authentication requirements than the HTTP spec. Does anyone know if the Servlet spec addresses this? -Mark alexander dosher wrote: before i post this as a bug & possibly make a c

Re: Problem with SSL

2005-03-27 Thread Mark Thomas
of the content is maintained. Mark [EMAIL PROTECTED] wrote: Hey it works! Thank you for enlightening me. But i would like to know why it works. If you can point me to some resources to explain this. I think in order for the client server to communicate over SSL the crucial setting is INTEGRAL

Re: Problem with SSL

2005-03-27 Thread Mark Thomas
If you don't want the clients to have to provide a client certificate, don't specify CLIENT-CERT in your web.xml Mark [EMAIL PROTECTED] wrote: I tried setting it to true and it still does not work. --- Mark Thomas <[EMAIL PROTECTED]> wrote: From the Tomcat documentation: client

Re: Problem with SSL

2005-03-27 Thread Mark Thomas
security constraint that uses CLIENT-CERT authentication. [EMAIL PROTECTED] wrote: By right the client should not be asked to present a cert because my server.xml setting is set to clientAuth="false" --- Mark Thomas <[EMAIL PROTECTED]> wrote: The problem appears to be that no clien

Re: Problem with SSL

2005-03-27 Thread Mark Thomas
browser - No compatible client certs have been imported into the browser - Only one suitable cert was found so it was returned (unlikely in your case) Check your browser/cert configuration. Mark [EMAIL PROTECTED] wrote: web.xml: PUBLIC "-//Sun Microsystems, Inc.//DTD Web Applicatio

Re: Bug 11645 reported in Tomcat 4.0

2005-03-27 Thread Mark Thomas
This issue applies to the deprecated http/1.1 connector which is not even shipped with 5.5x 5.5.x uses the coyote connector which does not have this issue. Mark Vineet Chopra wrote: Hi, This is regarding Bug 11645 reported in Tomcat 4.0 which I came across in http://issues.apache.org/bugzilla

Re: changing the storage location for webdav app

2005-03-27 Thread Mark Thomas
ation have a look at the slide project. Mark Henrik Vendelbo wrote: I want to modify the default webdav app in Tomcat 5.5 to storing information in a folder outside the webapps hierachy. How do I do that ? Henrik - To unsubscri

Re: address for documentation bugs? (jndi datasource examples broken)

2005-03-24 Thread Mark Thomas
All bugs, documentation or otherwise, should be reported via bugzilla. Mark Michael Stillwell wrote: Where should I send documentation bugs? There's a few problems with http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html: 1. Section 2 says to add a slug o

Re: tomcat-user-unsubscribe@jakarta.apache.org - sorry!

2005-03-24 Thread Robert Mark Bram
Sorry for that.. mistyped address. Rob :) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

tomcat-user-unsubscribe@jakarta.apache.org

2005-03-24 Thread Robert Mark Bram
[EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: How to edit and automatically upload to a servlet ???

2005-03-24 Thread Mark Thomas
Have a look at webDAV. I think the Tomcat webDAV servlet is too basic for your needs but take a look at Slide. Mark John MccLain wrote: Howdy, I am using tomcat and the jakarta commons fileupload utilities. I can upload a file and store it in the db, then download it and have it come up in the

Re: replacing ROOT

2005-03-24 Thread Mark Thomas
As ever, if you have a simple test case that reproduces this issue then please create a bugzilla item and it will be investigated. Mark Gene Volovich wrote: This reminds me that we've been having a lot of issues with Tomcat caching (refusing to recompile) changed JSP files. Not sure if th

Re: Defining authorization problem

2005-03-24 Thread Mark Thomas
Not sure where came from but is not part of the 2.3 or 2.4 servlet spec. Mark Guillaume Lederrey wrote: On Wednesday 23 March 2005 10.29, Geertjan Wielenga wrote: I would like to protect all my servlets except 1 or 2 ... something like : /* /someServlet Is this possible ? What's the s

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
that is implemented with SHA-1. I'll give this a try tomorrow- no midnight java tonight. -Mark Mark Leone wrote: Dave, thanks very much for your help. Unfortunately, the passage you quoted is referring to how the password is digested when it is stored in the realm. This is working fine f

Re: ugly urls

2005-03-23 Thread Mark Leone
Don't know if this will help you or not, but Web Services Description Language (WSDL) provides a standard way to create URLs that encode parameters passed to web apps. If you need to publish your web app URLs or make them available to lots of people, or if clients want to programmatically inges

Re: [QUAR]Re: clientAuth=true; non-SSL?

2005-03-23 Thread Mark Leone
the SSL and TLS protocol specs, and I know they support null cypherspecs. Hopefully there's a way to configure that in Tomcat- or if it's really important you could try hacking the code. -Mark Sweeney, Bill wrote: Thanks QM - Agreed. No way around SSL, as the client certificate request

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
ration of a browser session, as opposed to setting the www-authenticate header every time my JSP or servlet is called. -Mark David Owens wrote: The docs say this: When a standard realm authenticates by retrieving the stored password and comparing it with the value presented by the user, you can

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
duration of a browser session, as opposed to setting the www-authenticate header every time my JSP or servlet is called. -Mark David Owens wrote: The docs say this: When a standard realm authenticates by retrieving the stored password and comparing it with the value presented by the user, you c

Re: DIGEST authentication; Does it work??

2005-03-23 Thread Mark Leone
d to this method. Does anyone know how I can set this?* * -Mark Mark Leone wrote: I found a silly classpath error that fixed the problem using RealmBase. I didn't realize that my system still had environment variable %catalina_home% pointing to an old tomcat 4.1.24 directory. So when I op

Re: DIGEST authentication; Does it work??

2005-03-22 Thread Mark Leone
omcat 4.1.24. But guess what. When I digest the same info with the same algorithm specifier (SHA) in Tomcat 4.1.24 and Tomcat 5.5.8 I get different digest values. And DIGEST authentication still doesn't work, in either case. Something very strange is going on here. :( -Mark Mark Leone wrote: O

Re: DIGEST authentication; Does it work??

2005-03-22 Thread Mark Leone
rectories generated during the build. Do I have a defective build? Was I supposed to download something else? -Mark Mark Thomas wrote: Yes it does. I tested this extensively with both IE and Firefox. Any combination of the following is OK: Auth:BASIC, FORM, DIGEST Realm:Memory,

Re: 5.5.7 Build Failed -- Missing RedirectorElement class

2005-03-22 Thread Mark Leone
Thanks for the suggestion. I got it to compile successfully by upgrading from Ant 1.6.1 to 1.6.2. I assumed that RedirectorElement was part of the ant distribution, and an upgrade seemed to be a good shotgun approach. -Mark Mark Thomas wrote: Sounds like you need to edit/create the

Re: Tomcat Build-- Can I delete the \usr files?

2005-03-22 Thread Mark Thomas
Should be fine to delete but if you ever want to build Tomcat again... Mark Mark Leone wrote: I just completed a build of Tomcat 5.5.7 on Windows XP, after using the binary distribution for quite a while. Can I delete the 166 MB of stuff in the \usr directory? I didn't have any of this

Re: DIGEST authentication; Does it work??

2005-03-22 Thread Mark Thomas
digest realm. You need to be using 4.1.x from CVS HEAD or 5.5.8+ For more info see: http://jakarta.apache.org/tomcat/tomcat-5.5-doc/realm-howto.html Mark Mark Leone wrote: I'm trying to use DIGEST authentication with Tomcat, and it doesn't seem to work. I found some articles with Googl

Re: Persistence manager ClassNotFoundException during deserialization

2005-03-22 Thread Mark Thomas
It is only a guess but it looks like you have hit http://issues.apache.org/bugzilla/show_bug.cgi?id=19701 This was fixed in the 4.1.31 release Mark Antony Paul wrote: I need to have a bug registered for this as I could convince my manager. I searched bugzilla but could'nt find one. If anyone

Re: How to trap errors while authenticating user : Custon Authentication mechanism ?

2005-03-22 Thread Mark Thomas
This is probably by design. This sort of information can be useful to an attacker. If you want to implement this yourself possible starting points would be overriding the relevant methods of org.apache.catalina.realm.JNDIRealm or extending org.apache.catalina.realm.RealmBase HTH Mark [EMAIL

Re: 5.5.7 Build Failed -- Missing RedirectorElement class

2005-03-22 Thread Mark Thomas
binaries # should be downloaded base.path=D:/JavaDev/libs commons-daemon.project=jakarta-commons/daemon full.dist=on mail.jar=${base.path}/javamail-1.3.1/lib/mailapi.jar Mark Mark Leone wrote: I've been running Tomcat from a binary distribution for a couple years (4.1.24 for most of the time,

RE: url of caller?

2005-03-22 Thread Mark Benussi
Worth mentioning this as I have been down this path. Symantec Intenet Security products and the like, will remove this header. I actually contemplated writing to Symantec about this only this morning (I think I have too much time on my hands). http://service1.symantec.com/SUPPORT/nip.nsf

Re: Rookie needs help resolving "HTTP Status 500" error message

2005-03-22 Thread Mark Leone
And be advised that you have to recapitulate your package structure in the directory hierarchy under ..WEB-INF\classes. In other words, if you compile your bean inside package org.company.my.java, then you should place the class file for your bean in ..WEB-INF\classes\org\company\my\java QM wro

Tomcat Build-- Can I delete the \usr files?

2005-03-21 Thread Mark Leone
I just completed a build of Tomcat 5.5.7 on Windows XP, after using the binary distribution for quite a while. Can I delete the 166 MB of stuff in the \usr directory? I didn't have any of this stuff with the binary distribution, so I guess it was all temporary files used to do the build?

DIGEST authentication; Does it work??

2005-03-21 Thread Mark Leone
I'm trying to use DIGEST authentication with Tomcat, and it doesn't seem to work. I found some articles with Google about IE implementing DIGEST authentication in a way that only worked with MS servers, and I assume that hasn't been corrected. But I'm also using Firefox with the same results as

5.5.7 Build Failed -- Missing RedirectorElement class

2005-03-20 Thread Mark Leone
't seem to get saved, since it downloads it again the next time I run the script. Kind of annoying, cause it takes a long time to download, even though I have 4 Mbps bandwidth. -Mark build-catalina-core: [javac] Compiling 305 source files to C:\Apache Tomcat\jakarta-tomcat-5.5.7-

Re: Using RealmBase.Digest(...)

2005-03-20 Thread Mark Thomas
Mark Leone wrote: If you want to know what your default charset is, invoke getDigestEncoding(). Whatever value is returned is the charset you need all your users to use when they authenticate (or a charset that is compatible within the ranges of characters that the users will be entering). If

Re: Authentication for streaming file (OT)

2005-03-19 Thread Mark Leone
han a bug. I applied the workaround you described in BZ #27122, and it now works properly with all resources of the web app protected by a . Thanks for pointing me to the solution. -Mark Bill Barker wrote: Have you tried other browsers than MSIE? If it works for FireFox, then you've pr

Re: Using RealmBase.Digest(...)

2005-03-19 Thread Mark Leone
ISO-8859-4 See section 14.17 of the HTTP spec; here's the link: http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17 -Mark J Malcolm wrote: I'm writing an app to create user id/pw's in a db for use by realms. I've read the realm HOW-TO page. But I have

Re: Tomcat not running(4.0.6/5.0.19)-urgent

2005-03-19 Thread Mark Leone
tarting up sometimes. -Mark ayaskant swain wrote: Dear Sir/Madam, I have been using tomcat 4.x/5.0.x version for web developmen (JSP/Servlets)but i am finding difficulties in starting the server itself many times.I have set the JAVA_HOME environmental variable to the di

Re: java.lang.NoClassDefFoundError: org/apache/tools/ant/types/RedirectorElement

2005-03-19 Thread Robert Mark Bram
Found the answer to this one. I needed Ant 1.6.2.. Rob :) On Sat, 19 Mar 2005 22:01:58 +1100, Robert Mark Bram <[EMAIL PROTECTED]> wrote: Hi All! I have just installed Tomcat 5.5 on Windows XP Pro with apache-ant-1.6.1. I have placed the catalina-ant.jar in in apache-ant-1.6.1's lib

Re: JSP being interpreted?

2005-03-19 Thread Robert Mark Bram
ant/types/RedirectorElement post"). How do you deploy your apps and update them after code changes? Thank you for your response! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/default.asp B.Comp.(Systems Development/Business Systems) B.Net.Comp.(Hons) Doctor of

JSP being interpreted?

2005-03-19 Thread Robert Mark Bram
Hi All, Not sure if I am way off mark, but it almost seems as if my JSP is not being interpreted. Using the /manager web app, I get my app deployed (I still can't figure out why my command line install doesn't work) and I publish this page: == <%@ taglib uri="/WEB-INF/tl

java.lang.NoClassDefFoundError: org/apache/tools/ant/types/RedirectorElement

2005-03-19 Thread Robert Mark Bram
/tools/ant/types/RedirectorElement Total time: 6 seconds F:\cml\website> I got exactly the same result when I moved the "website" dir to "C:\temp\website" as well. Any advice would be most appreciated! Rob :) -- Robert Mark Bram http://phd.netcomp.monash.edu.au/RobertMarkBram/

Authentication for streaming file (OT)

2005-03-18 Thread Mark Leone
Slightly off-topic -- Tomcat related I have a servlet that is invoked by clicking a hyperlink that is rendered by a JSP running in Tomcat. The servlet receives a file path parameter in the HTTP request, and then streams that file to the requesting client. I have a defined in Tomcat for the JSP

issue with redeploying war file

2005-03-15 Thread Mark
yed. Is there any way to enforce recreation of exploded web application if .war file get changed. Thanks, Mark. __ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbus

where serialized session objects stored?

2005-03-15 Thread Mark
Hi, How can I find out where session serialized objects get stored and how can I force _not_ to load session serialized objects ( I need it when a new version of web application get deployed) __ Do you Yahoo!? Yahoo! Small Business - Try our new

running a thread in Tomcat

2005-03-15 Thread Mark
I need to take care about this thread in destroy() method of my init servlet? I have tomcat 5.0.24 on RH9. Thanks a lot, Mark. __ Do you Yahoo!? Yahoo! Mail - Find what you need with new enhanced search. http://info.mail.yahoo.co

Re: Tomcat 5.5.7+JRockit = windows service won't start

2005-03-14 Thread Mark Thomas
Perhaps you could try looking in the registry to see what parameters have been set there and if they are compatible with the JRockit JVM? Mark BB Commish wrote: Hi, I am running Tomcat 5.5.7 with the JRockit 1.5.0 jdk. Everything is fine if I start TC using the startup.bat approach but

Re: Tomcat CVS Versions

2005-03-14 Thread Mark Thomas
I can't speak for TC3 but for a complete build of 4.0.x from CVS you need: jakarta-servletapi-4 (HEAD tag) jakarta-tomcat-4 (tomcat_40_ tag) jakarta-tomcat-connectors (HEAD tag) (not sure about this one) For 4.1.x you need: jakarta-servletapi-4 (HEAD tag) jakarta-tomcat-4 (HEAD tag) jakarta-tomcat-

Re: Servlet Streaming file to client: Can't override file name

2005-03-13 Thread Mark Leone
Thanks. That's exactly what I needed, and it did the trick. Firefox browser just grabs the first non-whitespace part of the name, but in IE the entire name shows up. Thanks again. -Mark Chris Hyzer wrote: Servlet Streaming file to client: Can't override file name 123049 by:

Servlet Streaming file to client: Can't override file name

2005-03-12 Thread Mark Leone
I wrote a simple servlet that streams a file to the requesting client. Everything works fine except I can't figure out how to override the filename that Tomcat provides by default to the client for the incoming file. The filename presened to the client is the name of the web app. The HttpServle

Re: null pointer

2005-03-11 Thread Mark Winslow
What program gives you the null pointer exception? Is it your own servlet/jsp? --- Tony Lavalle <[EMAIL PROTECTED]> wrote: > I am a student taking a jsp class. the class > project uses an access > database. my problem is that every time i run the > program it keeps > giving me and npe error.

Re: Idle servlet won't restart

2005-03-11 Thread Mark Winslow
What happens when you try to get an image? What, if any, error messages do you get? --- Nat Titman <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using Tomcat 5.5.3 running as part of an Apache > webserver on Fedora > Core 1. > > My webapps are supported by a servlet which serves > gif images store

Why so much virtual memory?

2005-03-11 Thread Mark Winslow
I start Tomcat 5.5.7 and it immediately reports about 450 megabytes of virtual memory usage in the linux app top. Is this normal? Is it just allocating it or is it really using it? It takes about 1 to 2 seconds to start and there's no way an application can write 450 megs of disk memory in that

RE: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
Sorry, just had one other question about the use of static variables. Can this really be a problem? I thought that a static variable only gets a single copy per JVM/Context. For instance the use of static variables to define formats shouls save on memory usage shouldn't it? public class Helper

RE: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
I don't know. I have one pure Tomcat (no Apache) server that all it does is serve about 300,000 static files per day. The memory usage grows and grows unexplicably. I run a cron job that restarts it everyday, which I had to started running with version 5.0.something or else it would eventually r

RE: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
ethod. Is that the main reason not to encapsulate close() methodology there because of slow garbage collection? --- "Caldarale, Charles R" <[EMAIL PROTECTED]> wrote: > On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark > Winslow wrote: > > > > 2. Have better cont

Re: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
code and would like a way to make my own encapsulating classes. --- QM <[EMAIL PROTECTED]> wrote: > On Thu, Mar 10, 2005 at 12:30:22PM -0800, Mark > Winslow wrote: > : > http://jakarta.apache.org/tomcat/tomcat-5.5-doc/printer/jndi-datasource-examples-howto.html#Database%20

Re: Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
ing connection pools. Thanks. --- QM <[EMAIL PROTECTED]> wrote: > On Thu, Mar 10, 2005 at 10:31:41AM -0800, Mark > Winslow wrote: > : Hi, I have a sort of theoretical question. I'm > : wondering about the pros and cons of using a "one > : connection per tomcat ses

Connection pooling verse one connection per session

2005-03-10 Thread Mark Winslow
Hi, I have a sort of theoretical question. I'm wondering about the pros and cons of using a "one connection per tomcat session" strategy for connecting to a Postgresql server rather than connection pooling. My users generally login in the morning and keep my app open for extended periods of tim

Re: How to access web site from other computers

2005-03-08 Thread Mark Leone
It sounds like you may have a firewall issue. Make sure that all software or hardware firewalls in the path are configured to allow the IP address and port you're sending from. Also make sure your router is configured to rout IP packets from the WAN interface to the IP address on your LAN that

Re: [OT] RE: same port used in both directions?

2005-03-08 Thread Mark Leone
account at home, there is a good chance that Cox has 443 blocked as well as 80. Unless you have a static IP with Cox they do not allow hosting and often filter the inbound traffic. Move it to port 8443 and try it. Doug - Original Message - From: "Mark Leone" <[EMAIL PRO

Re: Persistence manager ClassNotFoundException during deserialization

2005-03-08 Thread Mark Thomas
What happens on 4.1.31? Mark Antony Paul wrote: I created a sample application and is available at http://geocities.com/antonypaul24/web.html . Any one can download it and test. rgds Antony Paul On Tue, 8 Mar 2005 10:01:13 +0530, Antony Paul <[EMAIL PROTECTED]> wrote: I am waiting fo

RE: How to access web site from other computers

2005-03-08 Thread Mark Benussi
Not wishing to be fussy but you don't have to have a static IP. You can have a dynamic IP and there are various companies that will manage this for free https://www.dyndns.org/ Some routers like my UK BT ADSL modem come with functionality that notifies dyndns as soon as the dynamic IP changes. --

Re: [OT] RE: same port used in both directions?

2005-03-08 Thread Mark Leone
te: [Marked as OT because not Tomcat-specific] From: Mark Leone [mailto:[EMAIL PROTECTED] I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080 forwarded through the firewall. I can make connections from outside the firewall to port 8080, but not port 443 (it times out). I can ac

SSL: same port used in both directions?

2005-03-07 Thread Mark Leone
I have Tomcat 5.5.7 behind a router/firewall, with port 443 and 8080 forwarded through the firewall. I can make connections from outside the firewall to port 8080, but not port 443 (it times out). I can access port 443 on my server if I browse to my server's LAN address or if I browse to my rou

Problem with Xerces, Xalan with Tomcat 5.0

2005-03-07 Thread Faine, Mark
tary API, when they don't have access to the source but if anyone has any ideas or suggestions for how I should go about debugging this problem please let me know. I would really appreciate it. Thanks, -Mark

Re: RealmBase Unix Script

2005-03-07 Thread Mark Thomas
The encoding parameter is optional. If I use the digest.sh script on Fedora Core 3 all works as expected. FWIW digest.bat also works on XP SP2. I suggest using the pre-written scripts. Mark Ole Ersoy wrote: Hey everybody, I'm trying to get the following script to digest a password for me

Re: ServletContextListener problem

2005-03-05 Thread Mark Thomas
This is bug 33463 that has been fixed in CVS and is included in 5.5.8 Mark Glenn R. Golden wrote: I'm using Spring 1.1.4 and Tomcat 5.5.7. I have a webapp with a ServletContextListener based on Spring's ContextLoaderListener. The problem I think I'm seeing is that when

RE: realm configuration

2005-03-02 Thread Mark Benussi
That sql isn't mysql specific. Should work for you fine. -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent: 02 March 2005 12:33 To: Tomcat Users List Subject: Re: realm configuration I guess (I don't use mysql) -Tim Mark Benussi wrote: > Just done this

RE: realm configuration

2005-03-02 Thread Mark Benussi
Just done this this morning: CREATE VIEW fw_user_roles AS SELECT USERS.USER_NAME AS USER_NAME, ROLES.NAME AS ROLE_NAME FROM fw_users AS USERS, fw_user_role_rltns AS RLTNS , fw_roles AS ROLES WHERE USERS.DATA_KEY = RLTNS.PRIMARY_KEY AND ROLES.DATA_KEY = RLTNS.SECONDARY_KEY ORDER BY USER_NAME, ROLE_

RE: AW: Getting other Sessions

2005-02-23 Thread Mark Benussi
.. etc Cheers, Mark Original Message Follows From: Bernhard Slominski <[EMAIL PROTECTED]> Reply-To: "Tomcat Users List" To: 'Tomcat Users List' Subject: AW: Getting other Sessions Date: Wed, 23 Feb 2005 10:31:00 +0100 Hi Matt, Joseph, you&#x

[SECURITY ISSUE] Using allowLinking with deprecated HTTP 1.1 connector

2005-02-21 Thread Mark Thomas
sue. Thanks are due to Glenn Choat who reported this issue to the Tomcat team last week. As a reminder, if you have a verified security bug to report please do not post it to email lists or submit a bug report. Security bugs should be reported privately by email to [EMAIL PROTECTED] Regards, M

Re: multiple login-config for one webapp

2005-02-21 Thread Mark Thomas
You may only have one per webapp. Mark Thiwanka Wimalasuriya wrote: dear all, the servlet spec 2.4 says (page 109 of servlet-2_4-fr-spec.pdf from http://www.jcp.org/aboutJava/communityprocess/final/jsr154/ ) However, the deployment descriptor instance file must not contain multiple elements of

Re: CGI

2005-02-18 Thread Mark Thomas
There is another option. You can change the CGI servlet mapping to use extension mapping. If you map it to *.cgi or *.pl or whatever you use on your system, CGI scripts in the 'normal' web app path should be served by the CGI servlet. Mark Kelly, Steve wrote: Hi Mark, Yes, th

Re: CGI

2005-02-18 Thread Mark Thomas
It is usually a bad thing (tm) from a security point of view to expose your CGI script. Again if I enter the url //localhost:8080/mywebapp/cgi-bin/myperl it executes the myperl script successsfully. Also, as expected from the config sett

security in servlets (need an advice)

2005-02-17 Thread Mark
servlet if this user can access servlet, but I guess it can be better way of doing it. What will the best and simplest way to do it in Tomcat 5.0.X ? Any suggestions are welcome! Thank you, Mark. __ Do you Yahoo!? Take Yahoo! Mail with you! Get it

Re: HTMLArea v. fckeditor

2005-02-17 Thread Mark Benussi
My 2 pence worth is that whilst all these are great, intergating them with existing functionality such as asset manegment (Images, documents etc) is such a pain that it is best to do your own. Original Message Follows From: Oleg <[EMAIL PROTECTED]> Reply-To: Oleg <[EMAIL PROTECTED]> To:

Re: Deploying with Tomcat 5.5

2005-02-16 Thread Mark Thomas
There is not a way to deploy a WAR file to a new virtual host without creating the host first. Mark [EMAIL PROTECTED] wrote: Is there not a way to deploy a WAR file in Tomcat 5.5 to a new virtual host without having to use the Admin web module to add the new host element and or manually

Re: percent 0008 exploit

2005-02-16 Thread Mark Thomas
have been nice to be able to get the patch out there before it was announced on a public list ;) Mark Mike Curwen wrote: hmm.. that would be _this_ old chestnut... (a little eager on the send, sorry.) http://shh.thathost.com/secadv/2001-03-29-tomcat.txt This particular exploit was fixed a long tim

Re: tomcat5.0 configuration

2005-02-16 Thread Mark Thomas
Looks like you are using the wrong url to access your servlet. Try http://host:port/context/InitParamServlet Mark Raasi Potluri wrote: Hi, I have written a simple servlet and trying to access an init param from the web.xml but the servlet is giving me a runtime error, please help, I'm stuck

Re: Redirect with slash appended

2005-02-16 Thread Mark Thomas
This is by design. See http://issues.apache.org/bugzilla/show_bug.cgi?id=32424 for an explanation. Mark Felix Röthenbacher wrote: Hi I have the problem that every time I access a servlet with a URL that is equal to a servlet's directory, Tomcat redirects me to an URL with a slash appended

Re: tomcat-user Digest 15 Feb 2005 20:05:19 -0000 Issue 5406

2005-02-16 Thread Mark Thomas
certificate. Mark Xeth Waxman wrote: Mark: Here is my server.xml file. I do have one application that I need the secure connection for, so I can't comment out the AJP running on 8009. type="org.apache.catalina.UserDatabase"/>

Re: Security Constraint

2005-02-15 Thread Mark Thomas
Could be a server.xml problem. Can you post the connector parts of your server.xml? Mark Xeth Waxman wrote: I have a new servlet which I've created - whenever you try to access this servlet, I get the security certificate dialog box (do you want to accept this certificate). However,

<    1   2   3   4   5   6   7   8   9   10   >