RE: Tomcat and PHP

2004-07-16 Thread Patrick Willart
The WIKI page is nice and all, but is geared for compiling PHP yourself. What I would like to know is how to set it up using a binary distribution. I've tried fiddling around a little, and did get it to work, but it would crash on me after every page request. It did get the PHP out put though

RE: How do I associate a web app with a specific IP (connector)?

2004-06-08 Thread Patrick Willart
iate a web app with a specific IP (connector)? Thanks. That looks simple enough. Does this mean that I don't need an extra connector for the IP? Patrick Willart wrote: >There is probably more than one way to do this, but one is by defining >multiple hosts and using an alias to b

RE: How do I associate a web app with a specific IP (connector)?

2004-06-07 Thread Patrick Willart
There is probably more than one way to do this, but one is by defining multiple hosts and using an alias to bind the host to an IP. You could end up with something like this: 127.0.0.1 yourdomain1.com 127.0.0.2 yourdomain2.com grts, Patrick

RE: video/x-ms-wmv mime-type added for wmv files, but doesn't seem to work

2004-05-26 Thread Patrick Willart
From: Jeanfrancois Arcand [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 26, 2004 12:23 PM To: Tomcat Users List Subject: Re: video/x-ms-wmv mime-type added for wmv files, but doesn't seem to work Patrick Willart wrote: >Hello, > >I've added the following to my conf/web.xml but

video/x-ms-wmv mime-type added for wmv files, but doesn't seem to work

2004-05-26 Thread Patrick Willart
Hello, I've added the following to my conf/web.xml but it looks like Tomcat (5.0.18) isn't picking this up. It's serving the file as a plain text file. I've tried adding the mime-mapping to my applications web.xml but also without result. wmv video/x-ms-wmv I have added

RE: API for authenticating user

2004-05-25 Thread Patrick Willart
I believe Koji wants to authenticate users as soon as they register. I agree with him that it's kind of silly to have the user first fill out all his user profile information to register as a new user to the site, and then ask him to log on. It would be nice if one is able to log on the user automa

RE: access log format

2004-05-20 Thread Patrick Willart
You can define a custom pattern. Below is the one I use. In there you can use ascii codes like " to insert a quote. I haven't tried it so I am not sure if it works but you could try to insert a tab character grts, Patrick -Original Message- From: Nanda [mailto:[EMAIL PROTECTED] Sent

RE: Bad Cookie Name when NOT using cookies?

2004-05-11 Thread Patrick Willart
Too bad you didn't get a reply on this. My log file is full with similar messages and had hoped to learn what was causing them. Anyone? Patrick -Original Message- From: Evgeny Gesin [mailto:[EMAIL PROTECTED] Sent: Monday, May 10, 2004 1:49 PM To: Tomcat Users List Subject: Bad Cookie Nam

RE: Starting Tomcat from Apache...

2004-05-06 Thread Patrick Willart
I am eager to upgrade to the new version as I really like to use it. Is a new release build expected anytime soon? grts, Pat -Original Message- From: Peter Rossbach [mailto:[EMAIL PROTECTED] Sent: Thursday, May 06, 2004 11:31 AM To: Tomcat Users List Subject: Re: Starting Tomcat from Ap

RE: DB connection pool problem

2004-05-03 Thread Patrick Willart
You are missing the part (needs to be just above grts, Pat -Original Message- From: Arora, Avinash [mailto:[EMAIL PROTECTED] Sent: Monday, May 03, 2004 3:10 PM To: Tomcat Users List Subject: DB connection pool problem Hi, I am also having the problem with the connection pools. S

RE: Tomcat 5 and LDAP

2004-04-14 Thread Patrick Willart
r doing this setting, what code you have written in the Login Screen, Can you share with me? What all JAR files are needed? Best Regards Abhay Kumar -Original Message- From: Patrick Willart [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 13, 2004 5:21 PM To: Tomcat Users List Subject: F

FW: Tomcat 5 and LDAP

2004-04-13 Thread Patrick Willart
This is how I have had it configured once. It worked against an iPlanet LDAP server. ldap://127.0.0.1:389"; roleBase="ou=groups,dc=aptitudexchange,dc=com" roleName="cn" roleSearch="(uniqueMember={0})" userPattern="uid={0},ou

RE: Javamail not working with non-Outlook Express users.

2004-01-14 Thread Patrick Willart
When I read your problem description, the first thing I think of is that the format of your mail message is not correct. Outlook Express might not be so strict and render your mail message without any problems while other email clients require a proper formatted email. grts, Patrick -Origina

RE: Problems after creating new hosts / contexts

2004-01-08 Thread Patrick Willart
is your WEB-INF directory fully in uppercase? Patrick -Original Message- From: Pronet Mailinglist [mailto:[EMAIL PROTECTED] Sent: Thursday, January 08, 2004 1:30 PM To: [EMAIL PROTECTED] Subject: Problems after creating new hosts / contexts Hi all, my environmemt: OS: Redhat Linux Pla

EJP-Tracer - How to do it?

2004-01-07 Thread Patrick Willart
I am trying to find a performance problem using the EJP. I have not used such a tool before and I am struggling a bit. I manage to run tracer on a simple java program without any problems. After playing around for a few hours I also managed to configure it to trace Tomcat (main class: org.apache.c

RE: Off-topic - Java and X11 Window Server

2004-01-07 Thread Patrick Willart
ject: RES: Off-topic - Java and X11 Window Server Dear Patrick, Where (and HOW ) should i set it? Thanks in advance, José Euclides Junior Projeto DOP201 Infra-estrutura J2EE para as aplicações corporativas da Previdência Social -Mensagem original- De: Patrick Willart [mailto:[EMAIL P

RE: Off-topic - Java and X11 Window Server

2004-01-07 Thread Patrick Willart
I am not an expert on any *nix system, but faced the same problem once. I had to set to DISPLAY varirable to :1.0 (export DISPLAY=:1.0). It is important that this is set for the same user that is running Tomcat. grts, Patrick -Original Message- From: Jose Euclides da Silva Junior - DATA

RE: Using Jikes as compiler for Tomcat 4.1 on Windows systems

2003-12-19 Thread Patrick Willart
ssage- From: Patrick Willart [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 1:41 PM To: Tomcat Users List Subject: Using Jikes as compiler for Tomcat 4.1 on Windows systems Simple question. Is it possible or not? I use Jikes 1.18 and Tomcat 4.1.24. Based from other posts I figured out

Using Jikes as compiler for Tomcat 4.1 on Windows systems

2003-12-19 Thread Patrick Willart
Simple question. Is it possible or not? I use Jikes 1.18 and Tomcat 4.1.24. Based from other posts I figured out that it's not possible to configure Tomcat to use Jikes as JSP compiler because -encoding is not supported in the Windows version of Jikes. However out of different posts I get the ide

RE: Form based authentication

2003-11-28 Thread Patrick Willart
Hello Atreya, Your stylesheet is returned after authentication because it is access restricted. If you make your stylesheet freely accessible it will work. grts, Patrick -Original Message- From: Atreya Basu [mailto:[EMAIL PROTECTED] Sent: Friday, November 28, 2003 8:01 AM To: Tomcat Use

RE: directive/Virtual host problem

2003-11-24 Thread Patrick Willart
ds to a servlet) works ok, but when I try www.mydomain.com, I get a 404 requested resource (/index.jsp) is not available. Any suggestions why this is occurring are much appreciated, /j-p. On Mon, 24 Nov 2003, Patrick Willart wrote: > Hi JP, > > You don't need to do that. The Alia

RE: directive/Virtual host problem

2003-11-24 Thread Patrick Willart
Hi JP, You don't need to do that. The Alias directive is able to do this. 111.111.111.111 mydomain.com www.mydomain.com grts, Patrick --- From: john-paul delaney [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 8

RE: Cookies

2003-11-20 Thread Patrick Willart
Since you don't specify the path when you write the cookie it's in /app/servlet. This means that this cookie can only be read by pages/servlets in this directory or subdirectories. Your JSP is in a different directory structure and is not allowed to read the cookie you wrote. add cookie.setPath("

RE: invalid direct reference..--problem with solution..

2003-11-20 Thread Patrick Willart
Hi Claus, According to the official servlet specification one cannot directly link to the login form. The user must always be redirected (because he entered a protected URL) to the login form for it to work. This behavior prohibits one to have a log in form an every page. It's like this in the ser

RE: Resolving an object for a jsp?

2003-11-13 Thread Patrick Willart
An easy way to figure out the java equivalent for this is too look at the compiled jsp (.java). Patrick -Original Message- From: Josh G [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 4:20 PM To: Tomcat Users List Subject: Re: Resolving an object for a jsp? Tim Funk wrote:

RE: Start Tomcat

2003-11-12 Thread Patrick Willart
Simon, If you add 'pause' as last line in you startup.bat you can see what (error) messages Tomcat outputs. Patrick -Original Message- From: Simon Allen [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 12, 2003 2:31 PM To: '[EMAIL PROTECTED]' Subject: Start Tomcat Hi I am able to s

RE: Strange behavior of runtime.exec(...)

2003-11-10 Thread Patrick Willart
ent > matter?! Or is there a bug somwehere else?! > Patrick Willart wrote: > >> I suspect the problem to be that no external task that is started by >> Tomcat >> is allowed to open any connections. >> >> I had a similar problem with cgi and a windows executabl

RE: Strange behavior of runtime.exec(...)

2003-11-08 Thread Patrick Willart
I suspect the problem to be that no external task that is started by Tomcat is allowed to open any connections. I had a similar problem with cgi and a windows executable. The executable tried to open a socket connection. The same setup had worked on a different server but not on Tomcat. I ended up

RE: Tomcat crash

2003-11-07 Thread Patrick Willart
Add pause as last command in you catalina.bat file. This will keep the console open so that you can read the error message. Patrick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Friday, November 07, 2003 9:33 AM To: Tomcat Users List Subject: Re: Tomcat crash

RE: Tomcat and PHP - It's possible

2003-11-03 Thread Patrick Willart
Hello Joao, I have read an article on http://www.3plus4software.de/ in which Tomcat's cgi servlet was configured to serve PHP. I haven't tested it myself and the information is in German, but it didn't look very complicated. Unfortunately I couldn't find the article anymore on their site. Luckil

RE: Socket permission in a CGI Script

2003-10-27 Thread Patrick Willart
: Tomcat Users List Subject: Re: Socket permission in a CGI Script Try something like chmod a+x your_cgi or chmod 777 . If that doesn't work, then I have no idea :-( -- Jeanfrancois Patrick Willart wrote: >Hmmm I don't know. Even without the security manager running the CGI &

RE: Problem receiving huge text in IE

2003-10-27 Thread Patrick Willart
Do you have to output your data in a table. Maybe better format it with spaces within tags. That way the browser can render it right away. If it is in a table all the data has to be received before it can get rendered. Patrick -Original Message- From: Mufaddal Khumri [mailto:[EMAIL PROTEC

RE: IIS log files

2003-10-27 Thread Patrick Willart
You can log about anything you want, including cookies and specific HTTP headers. It is not in the 4.1 documentation but %{Referer}i, %{User-Agent}i, etc. work. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html#Access%20L og%20Valve You can do the same with %{cookiename}c; and if

RE: Socket permission in a CGI Script

2003-10-27 Thread Patrick Willart
Hmmm I don't know. Even without the security manager running the CGI program isn't allowed to open a socket connection. To my understanding the security manager just adds protection and doesn't allow you to do more things then normally would be allowed. patrick -Original Message- From

RE: Tomcat problem !

2003-10-17 Thread Patrick Willart
Come on Hassan... How can you ever expect to get an answer on this? Your question doesn't have any specifics at all and this kind of stuff is documented well on http://jakarta.apache.org/tomcat. -Original Message- From: hassan [mailto:[EMAIL PROTECTED] Sent: Saturday, October 11, 2003 3:

RE: [RePost] webapp/path

2003-10-04 Thread Patrick Willart
Roland, you don't. Struts prepends the webapp-root for it. -Original Message- From: Roland Carlsson [mailto:[EMAIL PROTECTED] Sent: Saturday, October 04, 2003 12:30 AM To: Tomcat Users List Subject: [RePost] webapp/path Hi! In my struts-config.xml i have the following in an action: >

RE: invalid direct reference..--problem with solution..

2003-10-03 Thread Patrick Willart
Here are two fixes for the problem. http://forum.java.sun.com/thread.jsp?thread=330109&forum=45&message=1344266 http://raibledesigns.com/page/rd/20020828 However, they don't work for me. My problem isn't that the user goes directly to the login page, but that a login form is available on every pa

RE: Send mail cgi script doesn't work under tomcat?

2003-10-03 Thread Patrick Willart
Laurence, I have the same problem and could not figure it out. It seems that the CGI program isn't allowed to open a new socket. You could try to enable the Security Manager and set it up so it allows for opening sockets. However, I don't believe CGI scripts/programs are affected by the Security

cgi program cannot open a new socket - security issue ?

2003-10-02 Thread Patrick Willart
I have a (legacy) cgi program that tries to open a TCP IP socket to a certain address port for communication. On Apache and iPlanet the CGI program works fine. On Tomcat however the CGI program isn't able to open the socket and returns an error. This call fails with error 10106 (WSAEPROVIDERFAILED