javax.mail

2004-02-11 Thread Duncan Smith
Hi, sorry if this is the wrong mailing list but I think most people here are Java programmers so: I am using javax.mail to send a mail to myself if a particular problem occurs on the server. My code seems to work but, but it does not use the smtp server which I am specifying. I cannot find a

Re: Tomcat 4.1.29 and J2SDK1.4.2

2004-02-02 Thread Duncan Smith
. Duncan Smith www.pennymail.com Maarten van Heiningen wrote: Hi, I´m using Tomcat 4.1.29 on a windows 2000 machine in combination with j2sdk1.4.2_03 s.e. I used to run this tomcat version under jdk1.3.1_02 and all worked well. Because of better results under Ant I wanted to upgrade the sdk

Re: comercial license

2004-01-30 Thread Duncan Smith
Yeah, the local pizza delivery shop will go out of business otherwise. (Only joking guys :-) ) Michael Mangeng wrote: Hi Stop thinking you do somthing bad - simply use the software provided. If you think the programmers from the apache project have done good work - feel free to donate

Re: Login page only via SSL

2003-12-29 Thread Duncan Smith
/security-constraint login-config auth-methodBASIC/auth-method realm-nameSSL/realm-name /login-config Hope this helps -Duncan Smith www.pennymail.com Pranas wrote: Hello all gurus, Could somebody explain me how to force Tomcat 4.1 using SSL for strictly only for login page? Thanks

Re: Realms question

2003-12-19 Thread Duncan Smith
If you switch to using a realm, you can use wildcards in the constraints so that it applies to a whole directory? Whether this is useful obviously depend on whether you have all your JSPs in the same directory or you could have a *.jsp wildcard to cover all jsps. Will depend on your naming

Re: CSS in War file

2003-12-15 Thread Duncan Smith
Sorry. Was a error in my server.xml that I had made. The server was in fact only serving the home page and nothing else, but seems to be working now. Thanks for the suggestions -Duncan www.pennymail.com Duncan Smith wrote: I've just started deploying a web app as a war file instead

Re: Problems using Files from a central machine

2003-12-12 Thread Duncan Smith
The problem is, tomcat is running as a service and as such does not have access to the drives that are mapped when you are logged on. The way arround it is the use the full path of the server. eg: //hostname/sharename/sites\biteme Hope this helps - Duncan www.pennymail.com [EMAIL PROTECTED]

Re: javax.mail.SendFailedException: Sending failed

2003-12-12 Thread Duncan Smith
The 'Relaying Denied' indicates that it is your SMTP server rejecting the request. If you haven't tried it already, it may be worth trying the send a mail from a standard mail client on the machine to test this? -Duncan www.pennymail.com Ashwin Kutty wrote: Was wondering if someone could

Re: javax.mail.SendFailedException: Sending failed

2003-12-12 Thread Duncan Smith
Still may be worth trying to send a mail from a differant application on the same machine, such as trying to send create a mail message through telnet. That way you can be sure whether it is your app or the mail setup. -Duncan www.pennymail.com Ashwin Kutty wrote: The SMTP host is the same

Re: javax.mail.SendFailedException: Sending failed

2003-12-12 Thread Duncan Smith
mail client as this server and it sent the message out with no errors. On Fri, 12 Dec 2003, Duncan Smith wrote: Still may be worth trying to send a mail from a differant application on the same machine, such as trying to send create a mail message through telnet. That way you can be sure

CSS in War file

2003-12-12 Thread Duncan Smith
I've just started deploying a web app as a war file instead of uploading individual files. Everything works except my styles don't load. The stylesheet is added to the war file in the same location as before, but if I try to request the css file on it's own I get a java.lang.NullPointerException

Re: CSS in War file

2003-12-12 Thread Duncan Smith
When I request a page which should have the styles applied, they are not. If I try to request the css file on it's own from a browser, I get the NPE (ie. www.pennymail.com/pennymail.css) -Duncan www.pennymail.com Wendy Smoak wrote: From: Duncan Smith [mailto:[EMAIL PROTECTED

Re: File Writing

2003-12-05 Thread Duncan Smith
Solved it. Needed \r\n to terminate line instead of just \n -Duncan Duncan wrote: I am trying to write a list into a file, but when I read the file after it has been written it is always missing the first one or two lines. When writing the file, I also output to the screen, and all the

UserDatabase

2003-10-08 Thread Duncan Smith
Is there an easy way to administer the tomcat-users.xml file? I need to give a superuser access to add/delete users, but don't want to give access to the admin application. Any suggestions? Cheers, Duncan, Decker Telecom Ltd -

Serving other files as JSPs

2003-09-26 Thread Duncan Smith
Is it possible to serve other files extentions as JSPs? ie. if I had a file hello.bob, would I be able to run JSP code in it. I have tried adding and extra servlet entry in the web.xml identical to the JSP one but with a differant name and have also tried ading an extra servlet-mapping for both

Re: Serving other files as JSPs

2003-09-26 Thread Duncan Smith
. *.bob). Yoav Shapira Millennium ChemInformatics -Original Message- From: Duncan Smith [mailto:[EMAIL PROTECTED] Sent: Friday, September 26, 2003 10:43 AM To: Tomcat Users List Subject: Serving other files as JSPs Is it possible to serve other files extentions as JSPs? ie

Re: Error Finding config file: workers2.properties

2003-09-26 Thread Duncan Smith
I had same problem. I found that if the workers2.properties file was supposed to be in {apache-home}/conf/ Good luck :-) Duncan Smith Decker Telecom Ltd Rhugga wrote: I get this error during tomcat 4.2.27 startup: INFO: Starting Coyote HTTP/1.1 on port 8443 [Fri Sep 26 07:54:52 2003] (error

Tomcat+SSL 404 error

2003-09-25 Thread Duncan Smith
I've just updgraded from tomcat 4.0 to 4.1. In my web.xml I have the following: security-constraint web-resource-collection web-resource-namePennymail Secure/web-resource-name url-pattern/secure/*/url-pattern http-methodGET/http-method http-methodPOST/http-method

Re: IE problem, new session created for new browser instance

2002-01-21 Thread Duncan Smith
We find this feature of IE very useful. As users have to log into one of our sites, having a differant session for each browser instance is very useful as we can track multiple users logged on on the same machine in differant browser windows. Am am confused as to why Netscape is working in

Re: error using jsse: cannot recover key

2002-01-18 Thread Duncan Smith
You haven't said what OS you are using, but I had the same problem with Win2K. I found that after generating the key I had to then move it from my user directory under c:\docs and setts\(user) and move it to c:\docs and setts\defaut user\. Just a suggestion. Duncan. Mehul S Dave wrote:

Session timeouts

2002-01-15 Thread Duncan Smith
Hello all. I want to set the session timeout for a web app. In the example web.xml it says that the the value is is seconds, but in book I have about Tomcat 4 it says that it's in minutes. Does anyone know which one is right? Many thanks Duncan. -- To unsubscribe: mailto:[EMAIL PROTECTED]

Re: JSSE 1.0.2

2001-12-31 Thread Duncan Smith
Sorry. I was configuring JRE right, but I was configuring the wrong JRE. I'm new to java and didn't know that JRE came with the JDK, so I installed it seperatly. Many thanks for your help Duncan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED]

Re: JSSE 1.0.2

2001-12-24 Thread Duncan Smith
with permissions. Renato - Brazil On Fri, 21 Dec 2001 17:16:49 +, Duncan Smith [EMAIL PROTECTED] escreveu : Hello. I've just downloaded JSSE 1.0.2 and put the three .jar files in jre\lib\ext directory. I've uncommented the example SSl connector in server.xml, but when I restart

JSSE 1.0.2

2001-12-21 Thread Duncan Smith
Hello. I've just downloaded JSSE 1.0.2 and put the three .jar files in jre\lib\ext directory. I've uncommented the example SSl connector in server.xml, but when I restart, I get this error in the stdout.log: Exception during startup processing java.lang.reflect.InvocationTargetException:

Directory browsing

2001-12-13 Thread Duncan Smith
Hi all. How does one disable directory browsing for a Context (or even a Service)? Many thanks Duncan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Web Apps

2001-12-12 Thread Duncan Smith
Can anybody please point me in the direction for a good help/tutorial file for editing and adding Web Apps in Tomcat 4? Cheers Duncan -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

Re: can't have multiple occurrences of language

2001-12-11 Thread Duncan Smith
Cheers. Fixed the prob. Anonymity can be to ones advantage by the way. Fred. Justin Rowles wrote: I've just moved a system of ours from Jrun to Tomcat. A page which did run on Jrun now come comes up with this error on Tomcat : 'Page directive: can't have multiple occurrences of