Re: Help moving from a ConnectionBroker to using Tomcats DB Connection pool

2004-06-16 Thread Mark Matthews
the same thing. -Mark - -- Mr. Mark Matthews MySQL AB, Software Development Manager, J2EE and Windows Platforms Office: +1 708 332 0507 www.mysql.com MySQL Guide to Lower TCO http://www.mysql.com/it-resources/white-papers/tco.php -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.3 (MingW32

RE: CGIServlet -- tomcat

2004-06-15 Thread Mark Thomas
This was a bug. It has been fixed in CVS for TC4 and TC5. Mark -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 7:15 PM To: 'Tomcat Users List' Subject: RE: CGIServlet -- tomcat Alex, I have been looking after the CGI servlet

RE: can CGI Servlet handle Perl taint checking?

2004-06-15 Thread Mark Thomas
parameter to perl -T rather than perl. No idea if this will work. Does it matter whether I run Tomcat 4.1 or 5.0 ? TC4 and TC5 use exactly the same GCI servlet so it doesn't matter which one you use. Mark - To unsubscribe

Add a text message to BASIC HTTP Authentication Dialog

2004-06-14 Thread Faine, Mark
Tomcat 4.1.29 I'd like to add some basic disclaimer text to a site that uses a JDBC Realm. I'd like for it to appear in the dialog where the user enters their username and password in the location that now reads only JDBCRealm. Is this possible, if so how? -Thanks, Mark

Re: Problems building mod_jk2 with ant

2004-06-12 Thread Mark Lowe
I've never had any joy compiling jk or jk2 with ant, its more straight forward just to use the native scripts ./configure --with-apxs2=/usr/local/apache2/sbin/apxs make then copy the built module to the correct location. Mark On 12 Jun 2004, at 12:26, Lars Nielsen Lind wrote: I am having some

Re: Problems building mod_jk2 with ant

2004-06-12 Thread Mark Lowe
/ index.html Mark On 12 Jun 2004, at 12:26, Lars Nielsen Lind wrote: I am having some problems building mod_jk2 with ant. I use jakarta-tomcat-connectors-jk2-2.0.4-src. I have modified ../jakarta-tomcat-connectors-jk2-2.0.4-src/jk/build.properties.sample this way: tomcat5.home=/opt/jakarta-tomcat

Re: Tomcat and JSF

2004-06-09 Thread Mark Lowe
these components to an application data source; and wiring client-generated events to server-side event handlers. [http://java.sun.com/j2ee/javaserverfaces/] JSF is great, but this absence of file upload is pretty silly. /jsf rant Mark On 9 Jun 2004, at 04:01, James Black wrote: You have to add some

Re: [TC5] Problems with context.xml

2004-06-08 Thread Mark Woon
within my context. Next? ;) -Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: [TC5] Problems with context.xml

2004-06-07 Thread Mark Woon
at the error message carefully, it's not finding the driver because it doesn't know what driver to look for, which would indicate that it cannot find the ResourceParams. Any other ideas? Thanks, -Mark - To unsubscribe, e-mail: [EMAIL

Re: mod_jk2 connector

2004-06-05 Thread Mark Lowe
Try commenting everything out in jk2.props, should get you connector working even if the jni stuff takes more work afterwards. Mark On 5 Jun 2004, at 12:23, Ricky wrote: Hi All, I have difficulty to make mod_jk2 connector to work. :-( I try to use Unix Channel from this tutorial : http

Re: Using EL

2004-06-05 Thread Mark Lowe
=Mellow world!! / ${test} HTH Mark On 5 Jun 2004, at 12:47, Keith Hankin wrote: I have a very simple JSP page that attempts to output the value of a variable using EL ${var} notation. However, it is just printing the ${var} literally. I am using Tomcat 5.0.19, and according to the JSP spec, since

Re: HTTP header for dynamic pdf and IE6

2004-06-05 Thread Mark Lowe
I've seen this before ;o) Try appending .pdf to the actual request. /myapp/pdfgen.do;iehack=.pdf I've seen this used in teh xplanner project. Mark On 5 Jun 2004, at 11:52, Dean A. Hoover wrote: I have a java web application that allows an end-user in their browser to download a file, which happens

Re: Using EL

2004-06-05 Thread Mark Lowe
, Keith Hankin wrote: Sorry, copy error. I *did* specify [EMAIL PROTECTED] isELIgnored=false % That is why I got the error message I did. - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Saturday, June 05, 2004 5:29 PM Subject: Re: Using EL

[TC5] Problems with context.xml

2004-06-05 Thread Mark Woon
driver of class '' for connect URL 'null', cause: java.sql.SQLException: No suitable driver Any pointers would be greatly appreciated. Tomcat 5 supports this usage scenario, right? I've tested this with Tomcat 5.0.19, 5.0.25 and 5.0.26-beta with no success. Thanks, -Mark

mod_jk2 error logs show packets dropped

2004-06-04 Thread Mark Thias
Transmission: Note from Mark: Start of PDF Transmission. Transmission contains 1 packet of length 176, 13 of 7171 and one of 5993 bytes. [Thu Jun 03 13:39:38 2004] ( info ) [jk_channel_apr_socket.c (270)] channelApr.open(): create tcp socket 136143944 [Thu Jun 03 13:39:40 2004] ( info

RE: mod_jk2 error logs show packets dropped

2004-06-04 Thread Mark Thias
. server and Apache Web Svr then retried. No effect on the problem. I changed the JSP which calls the servlet that streams the pdf through the HttpServletResponse from a POST to a GET. This seems to have solved the problem. We have some more testing to do to verify 100% but I'm hopeful. Mark

Re: Serving up static content through apache using mod_jk

2004-06-03 Thread Mark Lowe
with apache in the middle you can load balance between containers. This article explains things better than me http://www.ubeans.com/tomcat/ Mark On 3 Jun 2004, at 17:39, Varley, Roger wrote: Hi, As always, consider using tomcat standalone for all your traffic, static and dynamic. This is the third time

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Mark Lowe
don't know how far i can compare. I also have no idea about compiling jk under windows, i've always found that I've needed to compile jk often with the head version out of cvs (there's always a fix thats needed somewhere). Mark On 1 Jun 2004, at 13:05, James Sherwood wrote: Ran out of memory

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-06-01 Thread Mark Lowe
to be sorted now. Thanks Mark On 1 Jun 2004, at 14:16, [EMAIL PROTECTED] wrote: Hi Mark, This option -Xmx128m Will cause OutOfMemory for you, As it basically sets maximum Java heap size, which will cause JVM to through whenever the limit is reached. Set it to a high value. Chall, -Original Message

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
What does your catalina log have to say for itself? On 31 May 2004, at 13:59, James Sherwood wrote: As I posted before, I get a memory leak using mod_jk 1.2 with Tomcat 5.0.25 and Apache 2.049 I beleive it may be related to the mod_jk connector and since I am not actually serving up anything

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
to me. Mark On 31 May 2004, at 14:23, James Sherwood wrote: There are no errors anywhere that I can find in any logs. The memory just slowly ramps up till an out of memory error happens. James - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent

Re: Tomcat5/mod_jk Memory Leak/mod_jk bypass

2004-05-31 Thread Mark Lowe
this afternoon. But nothing huge. Mark On 31 May 2004, at 17:54, James Sherwood wrote: Thanks Mark, I have it currently running bypassing the mod_jk with rewrite to port 8080. The memory has ramped to 327 mb so far which is not anything to worry about. I had this problem on our linux box but I had

Re: Tomcat 5 out of memory

2004-05-28 Thread Mark Lowe
Upgrade to tc5.024 Its been sorted, i had the same jazz happening. I changed to 5.0.24 as no problems since. On 28 May 2004, at 19:55, Emerson Cargnin wrote: I have the same configuration (except tomcat 5.0.19 and Suse linux 9.1) and have the same problem... do you have this kind of message at

Re: [tomcat] [newbie] If you're seeing this page, and you don't think you should be ...

2004-05-28 Thread Mark Lowe
By saying you installed it, I'm left with the impression you downloaded and double clicked the windows installer. Tomcat's built in http server catalina serves over port 80 Point your browser here and you never know it could already be running http://localhost:8080/ If not tell me what os

Re: Tomcat 5 going to sleep

2004-05-27 Thread Mark Lowe
Well 2 days have passed, and the problem seems to have gone away. Nothing as clever or as exciting as a memory profiler I'm afraid. Those crazy tomcat developer kids seemed to have nailed the apj coyote stuff in the 5.24 release. On 25 May 2004, at 19:52, Mark Lowe wrote: well time will only

Re: Which connector to use JK 1.2 or JK 2

2004-05-27 Thread Mark Lowe
the stable release i'll be sticking to it, at least for the time being. HTH Mark On 27 May 2004, at 18:10, Reis, Tom wrote: I am confused as to which connector to use for connecting II 6.0 Tomcat 4.1.30. It appears that either the JK 1.2 or the JK 2 will work but I am uncertain. If someone could

RE: can CGI Servlet handle Perl taint checking?

2004-05-27 Thread Mark Thomas
Hi, I tend to look after the CGI servlet. I am about to go on annual leave but will try and look at it when I get back (mid-June ish). Mark -Original Message- From: Larry Levin [mailto:[EMAIL PROTECTED] Sent: Thursday, May 27, 2004 4:59 PM To: [EMAIL PROTECTED] Subject: can CGI

Re: Frames vs Tables, I think Tables are the future! HTML examples please !

2004-05-26 Thread Mark Lowe
), to allow you to organise your files like you would with frames. How you go about this is of course upto you. You'll find a lot of folk more that happy to help on an appropriate list that deals with site building type issues. Cheers Mark On 26 May 2004, at 09:26, Ben Bookey wrote: Dear list, I think

Tomcat 5 going to sleep

2004-05-25 Thread Mark Lowe
where I should start looking? Thanks Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Tomcat 5 going to sleep

2004-05-25 Thread Mark Lowe
the server. Look for other threads with the subject memory leak Filip - Original Message - From: Mark Lowe [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 11:47 AM Subject: Tomcat 5 going to sleep Hello Sorry for the subject title but didn't know how better

Re: Tomcat 5 going to sleep

2004-05-25 Thread Mark Lowe
Mark On 25 May 2004, at 19:30, Mark Lowe wrote: Thanks I do test everything on my dev machine, but I don't have this issue on osx. The live server however is linux, and thus i'm a little restricted in terms of the tests I can run. Restarting the server is of course what i do do, but I've never had

RE: HTTP AUTH

2004-05-25 Thread Mark Thomas
How about use web.xml to configure your security rather than doing it by hand? That way tomcat does all the hard work. Mark -Original Message- From: SH Solutions [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 25, 2004 10:37 PM To: 'Tomcat Users List' Subject: HTTP AUTH Hi I

RE: This is a test message

2004-05-24 Thread Mark Thomas
unrelated) problem. Mark -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Monday, May 24, 2004 5:12 PM To: Tomcat Users List Subject: Re: This is a test message I've been getting very or little or nothing from the list and well, I know why. Should get it off

RE: CGIServlet -- tomcat

2004-05-21 Thread Mark Thomas
the only one? I am no perl expert, so if you could post a complete (but as simple as possible) script test case that doesn't work that would be a big help. Mark -Original Message- From: Alex [mailto:[EMAIL PROTECTED] Sent: Friday, May 21, 2004 2:50 PM To: Tomcat Users List Subject

RE: webdav servlet problems with Tomcat 5.0.24 and IE

2004-05-21 Thread Mark Thomas
install on one of our boxes and test. Let me know how this goes. What happened with the telnet tests? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: webdav servlet problems with Tomcat 5.0.24 and IE

2004-05-20 Thread Mark Thomas
on a windows box? - are you using the webdav servlet as it comes with TC5? Mark -Original Message- From: Roy Gardner [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 10:53 AM To: [EMAIL PROTECTED] Subject: webdav servlet problems with Tomcat 5.0.24 and IE I posted a bug (29094

RE: Loading custom classes doesn't work

2004-05-09 Thread Mark Thomas
You must put your custom class inside a package. Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, May 09, 2004 8:21 AM To: [EMAIL PROTECTED] Subject: Loading custom classes doesn't work Greetings, I'm trying to compile a very simple

RE: ssl-only access to a page?

2004-05-05 Thread Mark Thomas
Yes. Look up transport guarantees in the servlet spec. They are specified in web.xml Mark -Original Message- From: Barnet Wagman [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 9:27 PM To: Tomcat Users List Subject: ssl-only access to a page? Is it possible to make

RE: How does a servlet get a username

2004-05-05 Thread Mark Thomas
request.getRemoteUser() request.getUserPrincipal() See the servlet spec for more information. Mark -Original Message- From: Celona, Paul - AES [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 05, 2004 11:30 PM To: Tomcat Users List Subject: How does a servlet get a username

RE: Servlet generating applet

2004-05-03 Thread Mark Thomas
Anything under WEB-INF is not visible to clients. Your applet code needs to be somewhere the client can download it from. Mark -Original Message- From: Celona, Paul - AES [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 9:45 PM To: Tomcat Users List Subject: Servlet generating

RE: Getting a request in a non English character

2004-04-25 Thread Mark Thomas
are below. Hope this helps Mark SERVLET === package test.encoding; import java.io.IOException; import java.io.PrintWriter; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import

RE: Getting a request in a non English character

2004-04-25 Thread Mark Thomas
Try specifying the encoding in your client as as windows-1255 Mark -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Sunday, April 25, 2004 6:28 PM To: [EMAIL PROTECTED] Subject: RE: Getting a request in a non English character Mark, Your client

RE: tomcat 5 and cgi-bin

2004-04-24 Thread Mark Thomas
You can't do this within the same web application. You should be able to do this if you have a separate web application for each CGI executable. You will have to configure the cgi servlet differently in each web application. Mark -Original Message- From: zhicheng wang [mailto:[EMAIL

TC5 java mail woes

2004-04-23 Thread Mark Lowe
(mail/Session); Message msg = new MimeMessage(mailSession); Has no body had this problem? Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: TC5 java mail woes

2004-04-23 Thread Mark Lowe
It was the crack.. I had an old mail jar kicking around in my ext directory.. I killed it works fine.. No mail jar required in the webapps lib directory.. Just common/lib with activation.jar mark On 23 Apr 2004, at 17:42, Mark Lowe wrote: Hello After posting this problem yesterday I went

RE: tomcat 5 and cgi-bin

2004-04-23 Thread Mark Thomas
servlet-namecgi/servlet-name url-pattern/cgi-bin/*/url-pattern /servlet-mapping Alternatively you can put this in the web.xml for you web app. Note that XXXapp must be on your path. Mark From: zhicheng wang [mailto:[EMAIL PROTECTED] i am trying to upgrade our server to t5

RE: servlet.http?

2004-04-23 Thread Mark Thomas
Depends on your compiler. Look on the docs for how to set the classpath for the compilier and ensure that all the necessary jar files are included. Mark -Original Message- From: Kalin Mintchev [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 9:03 AM To: [EMAIL PROTECTED

RE: Init parameters in default context

2004-04-23 Thread Mark Thomas
=/mycontext docBase=/mycontext debug=0 Parameter name=configDir value=C:\config override=false/ /Context I have tried this with Tomcat 4.1.30 and 5.0.19 with the same results. Mark - To unsubscribe, e-mail: [EMAIL

Re: TC5 java mail woes

2004-04-23 Thread Mark Lowe
/lib, and try again filip -Original Message- From: Mark Lowe [mailto:[EMAIL PROTECTED] Sent: Friday, April 23, 2004 10:42 AM To: Tomcat Users List Subject: TC5 java mail woes Hello After posting this problem yesterday I went away and assumed that the problem must be the consequence of my

jk2 osx 10.3

2004-04-22 Thread Mark Lowe
but to no avail.. Has anyone done this? Can anyone help? Cheers Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: jk2 osx 10.3

2004-04-22 Thread Mark Lowe
live one that runs linux. Mark On 22 Apr 2004, at 10:38, Mark Lowe wrote: Hello I've been trying to move from jk to jk2 and experincing some problems. I've successfully compiled jk2 and installed it from the cvs version. #start compiling jk2 cvs -d :pserver:[EMAIL PROTECTED]:/home/cvspublic

Re: jk2 osx 10.3

2004-04-22 Thread Mark Lowe
is snide but i can live with it for now. Mark On 22 Apr 2004, at 15:17, Daniel Gibby wrote: When you compiled the connector the second time, it should have created a lib_jkjni.so or jkjni.so in the same directory as your mod_jk2.so. You need to copy that file as well to a location to specify where

Re: setting classpath when running as service on win2k

2004-04-22 Thread Mark Schmeets
Number X, which specifies the -Djava.class.path setting. Hope this helps, Mark Vincent Lévin wrote: hello ! where do we specify the classpath when when we launch tomcat 5 as service ? we tried to put the classpath in 'catalina.bat', in the tomcat configuration program (configure tomcat

Re: Tomcat is stoping Urgent

2004-04-22 Thread Mark Schmeets
Hi, Do you have a backup copy of your .mdb file (from before when the problem occured) that you could roll back to? If everything was working, and just suddenly stopped, it sounds like a data corruption issue. Mark Hans Wichman wrote: Hi, there are other drivers for access, look here http

Re: Accessing Dll's

2004-04-22 Thread Mark Schmeets
loaded it, third it was a dll versioning problem. Hope it helps. Mark Annamalai Ramasamy wrote: Hi., Again same error. I did put the dll to /jre/bin and winnt/system32. Any other ideas please... Thanks., MALAI Hans Wichman [EMAIL PROTECTED] wrote: sorry, i meant lib\bin\ instead of lib\ext\ grtz

[newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Mark Page
Hi all, I'm going nuts trying to do something pretty straight forward, namely getting TOMCAT to serve .jsp files via apache virtual hosts and still keep the default tomcat stuff at port 8080. I've read every howto I can find and can only get one or the other to work. My confusion seems to

Re: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Mark Page
I've sorted it - thanks anyway :) On Thu, 2004-04-22 at 17:59, Mark Page wrote: Hi all, I'm going nuts trying to do something pretty straight forward, namely getting TOMCAT to serve .jsp files via apache virtual hosts and still keep the default tomcat stuff at port 8080. I've read every

Re: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Mark Page
that something is wrong with the context for test.int ??? And also, the 404 is from tomcat, so apache is handing over to tomcat for .jsp but tomcat can't find them. On Thu, 2004-04-22 at 18:37, Parsons Technical Services wrote: What was it - Original Message - From: Mark Page

RE: [newbie] tomcat5+apache2 virtual hosting

2004-04-22 Thread Mark Page
, correct me if I'm wrong, but doesn't test.jsp have to be somewhere under $CATALINA_HOME/ROOT no matter how you configure your virtual host in Apache? Yang -Original Message- From: Mark Page [mailto:[EMAIL PROTECTED] Sent: Thursday, April 22, 2004 1:48 PM To: Tomcat Users List

java.mail.Session TC5 woes

2004-04-22 Thread Mark Lowe
keep getting java.lang.NoClassDefFoundError: javax/activation/DataSource These apps work on 4.1. Any insights welcome. Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: java.mail.Session TC5 woes

2004-04-22 Thread Mark Lowe
Yeah .. Tried in both, either, or. .. and in shared/lib to boot but no joy. On 22 Apr 2004, at 21:52, David Smith wrote: Do you have both mail.jar and activation.jar in your WEB-INF/lib or common/lib folder? Both are available free from Sun's website. --David Mark Lowe wrote: I've been

Re: [Solved]Tomcat As A Windows Service

2004-04-21 Thread Mark Schmeets
The SDK was installed under the C:\Program Files directory. The space was not quoted and broke the command line install. Mark Schmeets wrote: I have set up a number of Tomcat installs to run as Windows Services, but have come across one that I cannot get to work. The Windows Event log shows

java.net.Connection Timed Out error

2004-04-21 Thread Mark Schmeets
to be get worse as the network load increases. I am using the java.net.* pacakage on the client (not the Commons client). Has anyone else experienced this, or does anyone have any suggestions as to what I should look at? Thanks, Mark

RE: security permissions

2004-04-20 Thread Mark Thomas
The exec() method should be OK then. Try doing things through a batch file - this often overcomes a number of windows niggles. Also, have a look at the source for the CGI servlet - this is essentially running a app on the server but doing some other things as well. Mark -Original Message

RE: Getting a request in a non English character

2004-04-20 Thread Mark Thomas
You might find the text below useful. It is my standard text on character encoding. Mark REQUESTS There are a number of situations where there may be a requirement to use non-US ASCII characters in a URI. These include: - Parameters in the query string - Servlet paths

RE: Getting a request in a non English character

2004-04-20 Thread Mark Thomas
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/http.html Tomcat 4 ships with the same connector but the docs aren't quite up to date on the web site. Mark -Original Message- From: Yair Fine [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 10:48 PM To: 'Tomcat Users

RE: security permissions

2004-04-19 Thread Mark Thomas
OK. Next set of questions: - which program? - what is the server OS? From: Andrea Powles [mailto:[EMAIL PROTECTED] Im wanting to run the program on the server. When I startup Tomcat with the -security option Tomcat doesn't start up? This is the case even when I take out my

RE: Tomcat4x Development Process

2004-04-19 Thread Mark Thomas
Look at the reloadable attribute. I use MyEclipse which takes a lot of the pain out of this sort of thing. Mark -Original Message- From: Duncan Krebs [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 7:26 PM To: Tomcat Users List Subject: Tomcat4x Development Process Hi

RE: How to hide files by extension under Tomcat 5?

2004-04-19 Thread Mark Thomas
It is a general requirement. That is why: 1. WEB-INF is defined by the spec and is highly unlikely to change. 2. Protecting resources under WEB-INF is mandated by the spec (SRV.9.5) -Original Message- From: Stephen Bacon [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 7:52 PM

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-19 Thread Mark Thomas
From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach Aside from that, wouldn't it be nice of the servlet spec would allow binding HttpSessionActivationListeners to the whole application instead just to an attribute? In my application, it would be much elegant/easier. Maybe

RE: Parser Errors on startup

2004-04-18 Thread Mark Thomas
Try putting ?xml version=1.0 encoding=ISO-8859-1? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; At the start of the web.xml file Mark -Original Message- From: James Bucanek [mailto:[EMAIL PROTECTED

RE: Authentification against NT Domain Controller

2004-04-18 Thread Mark Thomas
From: Frank Schaare [mailto:[EMAIL PROTECTED] we´re building an Intranet application running on Tomcat 4.1.30 (Client OS is Win2K). It would be very suitable to authentificate the users against the NT Domain Controller to avoid a second login. I searched this ML and Google but did not

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
and that session will be activated. A container that migrates session between VMs or persists sessions is required to notify all attributes bound to sessions implementing HttpSessionActivationListener. /spec-quote HttpSessionActivationListener is the way to achieve what you are trying to do. Mark

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
Without looking at your source code, no idea. I have just checked the Tomcat source and every attribute that implements HttpSessionActivationListener will have sessionWillPassivate() and sessionDidActivate() called. At the moment it looks like something in your app. Mark -Original

RE: Detecting Sessions already existent at Tomcat Startup?

2004-04-18 Thread Mark Thomas
is that this is the correct interpretation. Mark From: news [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Schildbach I've got a simple class that keeps track of the sessions that are active. See sourcecode below. As you can see, sessions are being added or removed from a set if sessionCreated

RE: security permissions

2004-04-17 Thread Mark Thomas
. - If you use vbscript on IE, the browser will let unsigned code do it but requires the user to acknowledge the risk before running the app. Mark -Original Message- From: Andrea Powles [mailto:[EMAIL PROTECTED] Sent: Saturday, April 17, 2004 7:43 AM To: Tomcat Users List Subject: Re

RE: List problems

2004-04-15 Thread Mark Thomas
John Send an e-mail to [EMAIL PROTECTED] detailing your new and old e-mail addresses and I or one of the other moderators will look into it for you. Mark -Original Message- From: John Trollinger [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 3:36 PM To: [EMAIL PROTECTED

Tomcat As A Windows Service

2004-04-15 Thread Mark Schmeets
come across a service problem that does not at least dump to a log, like stderr. Can anyone give me any suggestions? Thanks, Mark - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Administrator setup

2004-04-15 Thread Mark Thomas
the admin role to an existing user. Should look something like user username=sysAdmin password=tomcat roles=tomcat,admin,manager/ Mark -Original Message- From: Joe Fiola [mailto:[EMAIL PROTECTED] Sent: Thursday, April 15, 2004 10:22 PM To: [EMAIL PROTECTED] Subject: Administrator

RE: Urgent pls help ! Protection problems of using Realm

2004-04-12 Thread Mark Thomas
You need to write a custom realm. Mark My case is that I can't store the username and password of the roles and users in my server. I need to send the authenication information in a format of xml file to a foreign server and get back the login result from that server. So I can't use

RE: DefaultServlet character encoding

2004-04-09 Thread Mark Thomas
Hi, Tomcat ignores META tags (for good reasons I won't go in to). Use %@ page pagEncoding=... %. Mark -Original Message- From: Hassan Schroeder [mailto:[EMAIL PROTECTED] Sent: Thursday, April 08, 2004 7:11 PM To: [EMAIL PROTECTED] Subject: DefaultServlet character encoding

RE: Session behaviour across http/https boundary

2004-04-09 Thread Mark Thomas
This is implemented within tomcat. Mark -Original Message- From: Martin Alley [mailto:[EMAIL PROTECTED] Sent: Friday, April 09, 2004 8:28 AM To: 'Tomcat Users List' Subject: RE: Session behaviour across http/https boundary Hi Bill, Thanks for clarifying. BTW Do you know

RE: JK2 connector built and installed but is there something wrong?

2004-04-07 Thread Mark Nye
the webapps folder by default. Mark -Original Message- From: Hamilton, Andrew [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 07, 2004 8:28 AM To: Tomcat Users List Subject: RE: JK2 connector built and installed but is there something wrong? try doing this [uri:/jsp-examples/*] worker

RE: 5.0.19 server not starting

2004-04-04 Thread Mark Thomas
Looks like you have a broken server.xml Try using the one provided with the tomcat distribution. Mark -Original Message- From: jitender ahuja [mailto:[EMAIL PROTECTED] Sent: Sunday, April 04, 2004 2:24 PM To: [EMAIL PROTECTED] Subject: 5.0.19 server not starting Hi

RE: 5.0.19 server not starting

2004-04-04 Thread Mark Thomas
don't hijack other people's threads. Looks like you have a broken server.xml Try using the one provided with the tomcat distribution. Mark -Original Message- From: jitender ahuja [mailto:[EMAIL PROTECTED] Sent: Sunday, April 04, 2004 2:24 PM To: [EMAIL PROTECTED

RE: Almost got it...

2004-04-02 Thread Mark Nye
www..com/servlet to be a valid servlet container. I could just go through my code and change www..com/servlet references to www.xx.com/appName/servlet this would work too.. I'll save it for the next release, enough stuff for now... Thanks again.. Regards, Mark -Original Message

Controlling logging level in catalina.out

2004-04-01 Thread Mark Shifman
I googled, looked at the tomcat faq and searched mail archives and couldn't find a reasonable answer (or one that I understand) but I'm sure it must be asked frequently. catalina.out has lots of INFO statements (using tomcat5). How can I control catalina.out logging so it only gets WARN or

Almost got it...

2004-04-01 Thread Mark Nye
to turn on this one.. Extremely frustrated, Mark

Mod_jk killed apache...

2004-03-30 Thread Mark Nye
apache I get an error message telling me mod_jk doesn't work with the newest version of apache. Has anyone else seen such a message? Thanks in advance, Mark Message when I start the web server. Httpd: module ../../server/apache2/mod_jk2.c is not compatible with this version

RE: RE: Connecting Apache and Tomcat

2004-03-30 Thread Mark Nye
Awesome.. I had some trouble understanding the documentation at the Jakarta site as well. So far I've been successful using http://www.connecties.com/cymulacrum/tomcat5/book1.html and it seems pretty cut and dry.. no fancy stuff. Thanks for the reply... Mark -Original Message

RE: new apache to tomcat connector for linux

2004-03-29 Thread Mark Nye
! Andrew.. I couldn't find a valid download link in the docs and thought maybe they were old. Thanks, Mark -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 9:50 AM To: Tomcat Users List Subject: RE: new apache to tomcat connector for linux

Wrong apache version number

2004-03-29 Thread Mark Nye
is not compatible with this version of apache (found 20020628, need 20020903). Has anyone else seen such a message? Apache, Tomcat and jk where all downloaded as src and built locally with no errors. I used flags from the documentation and double checked and rebuild everything. Thanks, Mark

new apache to tomcat connector for linux

2004-03-26 Thread Mark Nye
server and Apache. Tomcat does get the servlet requests but says the servlet cannot be found. I don't like this hack though and was wondering if anyone else has experienced this confusion. If so could you point to the correct jk and connection methodology? Thanks, Mark

RE: tomcat certificate

2004-03-26 Thread Mark Thomas
Got there in the end! I'll add this to my list of things to look at. Mark -Original Message- From: Idoia Murua Belacortu [mailto:[EMAIL PROTECTED] Sent: Friday, March 26, 2004 10:22 AM To: Tomcat Users List Subject: RE: tomcat certificate Yes, you are right. Before my

RE: Windows Login Id in a Web App on T5

2004-03-26 Thread Mark Thomas
You can't get a use a windows username and password without integrating with windows authentication. How about fronting things with IIS? Let IIS do the authentication for you. Haven't tried it but I don't see why it wouldn't work. -Original Message- From: Kumar Abhay-CAK203C

RE: tomcat certificate

2004-03-25 Thread Mark Thomas
OK. Light dawns. Can you try using the memory realm? My realm definition looks like: Realm className=org.apache.catalina.realm.MemoryRealm / Looking again at the exception it looks like a JMX issue with the UserDatabaseRealm MBean and user names containing '='. I'll have a look at the code. Mark

RE: tomcat certificate

2004-03-25 Thread Mark Thomas
I've look at the code and it would help if you could post your realm definition. Thanks, Mark -Original Message- From: Mark Thomas [mailto:[EMAIL PROTECTED] Sent: Thursday, March 25, 2004 6:00 PM To: 'Tomcat Users List' Subject: RE: tomcat certificate OK. Light dawns. Can you

RE: tomcat certificate

2004-03-24 Thread Mark Thomas
This works for me. Can you post the equivalent sections of your configuration files so I can compare them to mine? Thanks, Mark -Original Message- From: Idoia Murua Belacortu [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 24, 2004 7:51 AM To: Tomcat Users List Subject: RE

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
] -- Mark Shifman MD. Ph.D. Yale Center for Medical Informatics Phone (203)737-5219 [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.commons.logging.impl.Log4JLogger

2004-03-23 Thread Mark Shifman
Manager distributable=true/ in my context .xml but it didn't do anything. Mark Shifman Yoav Shapira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

<    4   5   6   7   8   9   10   11   12   13   >