FAQ RE: Tomcat with apache

2003-06-09 Thread James Lewis
http://www.johnturner.com/howto/apache-tomcat-howto.html#howto http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/connectors.html http://sourceforge.net/projects/tomcatbook/ http://mywebpages.comcast.net/funkman/ Umm, there's loads more (google or archives) -Original Message-

RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
- define the resource in server.xml (this is a little 'limitating' for me) - deploy the applications in unpacked format (i.e. not from a war file: this is quite limiting, however) Yep, not good to stick them in server.xml. Your application.xml file containing your resources should be in the

RE: [tomcat] RE: JNDI datasource non available in ServletContextListener.contextInitialized

2003-06-09 Thread James Lewis
always perform such a lookup successfully, but when I try from a ContextListener contextInitialized method it fails: the same code WILL NOT FAIL contextDestroyed !!! Hmmm, odd. This is *exactly* what I do pretty much. I have a LifeCycleListener specified in the webapps/app/WEB-INF/web.xml like

RE: Tomcat bug? WinXp, IE6, Tomcat 4.1.24, JSPTags

2003-06-05 Thread James Lewis
Umm, you'll have to post the whole exception, as the JasperException is wrapping the underlying one. (especially the root cause bit). Cheers, james -Original Message- From: Graham Reeds [mailto:[EMAIL PROTECTED] Sent: 05 June 2003 11:49 To: Tomcat Users List Subject: Re: Tomcat bug?

RE: Best Practice: choose between SessionCookie or just Session

2003-06-04 Thread James Lewis
The question is: should i generate a session Cookie that will be recovered by my following servlet or just generate any session parameter ( which will be recovered later too ), since i guess i only need to control the whole internal process. Umm, Slap me down if I'm wrong but I assume you

RE: Why am I recieiving this?

2003-06-03 Thread James Lewis
lol! -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:39 To: Tomcat Users List Subject: RE: Why am I recieiving this? Howdy, Techniacally,my post should only and only goes to tomcat-user mail server How did you arrive at that

RE: connectors and port80

2003-06-03 Thread James Lewis
Yes. But seriously how do you mean? Are *you* root when you run it? -Original Message- From: Fumo, Vince [mailto:[EMAIL PROTECTED] Sent: 02 June 2003 14:55 To: 'Tomcat Users List' Subject: RE: connectors and port80 Nope..installed as root. Is there a way I can verify the

RE: Catalina api and Jars

2003-06-03 Thread James Lewis
but I can use: I assume you mean can't. org.apache.ant.*; is there a list of jar files somewhere that I have overlooked? I'm assuming that if I have then I need to add that dir to my classpath. There is also the server directory: CATALINA_BASE/server/lib, however (and I'm sure someone

RE: Tomcat STILL freezing - time to look at another app server?

2003-05-31 Thread James Lewis
(as another post has mentioned). Things can definately freeze if you can't get any free connections because they are unclosed and waiting to time out. Cheers, James Lewis Java Developer www.goodtechnology.com - To unsubscribe, e-mail

Getting Dynamic Container information

2003-05-29 Thread James Lewis
of getting this information that doesn't involve using the Manager web app? Any help much appreciated, james James Lewis Java Developer www.goodtechnology.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands

RE: Weird occurrence - thoughts??

2003-04-02 Thread James Lewis
-INF/lib/cos.jar file/directory? Or do you have some interesting network mounted NT file system that was unavailable? Gut feeling it's an OS thing anyway. Cheers, james James Lewis Java Developer www.goodtechnology.com

RE: Infuriating port problem 80 - 8443 and 8008 - 8443

2003-03-25 Thread James Lewis
is the User who is running the server root? Some ports are privileged and you need root access on Linus to use them (someone can correct me on the exact ones no doubt :p) james -Original Message- From: Jamesey [mailto:[EMAIL PROTECTED] Sent: 25 March 2003 13:16 To: [EMAIL PROTECTED]

RE: Infuriating port problem 80 - 8443 and 8008 - 8443

2003-03-25 Thread James Lewis
Obviously I meant Linux, although root access on Linus sounds interesting... -Original Message- From: James Lewis [mailto:[EMAIL PROTECTED] Sent: 25 March 2003 13:24 To: Tomcat Users List Subject: RE: Infuriating port problem 80 - 8443 and 8008 - 8443 is the User who is running

Unsure how to set Context.URL_PKG_PREFIXES for the javaURLContextFactory, Catalina container

2003-03-20 Thread James Lewis
any ideas? Cheers (and apologies if this is OT) James James Lewis Java Developer www.goodtechnology.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: IIS and Tomcat

2003-03-17 Thread James Lewis
in a db between calls. b) Serializing the objects. c) Using cookies. I had a similar problem to this (communication between different webapps) and found the easiest solution to be a database driven one (they often are in my opinion :P) Maybe someone else can suggest alternatives? james James Lewis

RE: WAR FILE NOT WORKING

2003-02-18 Thread James Lewis
Hi, Could you post the catalina.out log please (or at least the relevant bits from it). Cheers, James -Original Message- From: Nandish A [mailto:[EMAIL PROTECTED]] Sent: 18 February 2003 10:44 To: 'Tomcat Users List' Subject: WAR FILE NOT WORKING hi all i am using tomcat 4.1.17

RE: WAR FILE NOT WORKING

2003-02-18 Thread James Lewis
NOT WORKING The name of the war file is iCMeta.war -Original Message- From: James Lewis [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, February 18, 2003 4:17 PM To: Tomcat Users List Subject: RE: WAR FILE NOT WORKING Hi, Could you post the catalina.out log please (or at least

RE: How to get session in the servlet

2003-02-14 Thread James Lewis
Hi, You can use the following method of the javax.servlet.jsp.PageContext object: (from the JSP 1.1 API) public abstract javax.servlet.http.HttpSession getSession()Returns: the HttpSession for this PageContext or null Cheers, James -Original Message- From: Desmond [mailto:[EMAIL