RE: where to put config.xml
Hi, Hi Saeed I think this better that you don't put CATALINA_HOME in your environment variables, because TOMCAT recognizes that automatically (because this same as Tomcat installation dir), I'm actually going to mildly disagree on this. Tomcat makes a reasonable guess at CATALINA_HOME (just relative and up from the current dir), which works for the default setup. But it's not a bad idea to explicitly specify this important configuration variable, and it's essential if you move things around so that they're different from the default setup. It also allows for easy switching for those that run multiple versions of tomcat. Yoav Shapira - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
Hi Saeed I think this better that you don't put CATALINA_HOME in your environment variables, because TOMCAT recognizes that automatically (because this same as Tomcat installation dir), plus you can put the JAVA_HOME directly in setclasspath.bat (in bin dir). In installaton time you must indicate your JAVA_HOME.After that you must don't change your JAVA_HOME or create an environment variable for that. By Sayeed [EMAIL PROTECTED] wrote: Dear Sir/Madam I do not know much about the Question - so sorry sir/madam as i am new to this thing. I do have however question from you. I start learning JSP and ohter J2EE tools recently. I buy a book of Professional JSP 2nd Edition. Sir i am facing a problem: I dowload jakarta_tomcat 4.1.30.exe from the website. I already do have jdk1.3 at my PC ( iam using win98 OS). Now after installing jakarta_tomcat to a folder c\apache\tomcat, I create two environment variables into my Autoexe.bat file as under : set JAVA_HOME=C:\jdk1.3 set CATALINA_HOME=C:\APACHE\TOMCAT Now when I Start Tomcat - a DOS base window is opened and remained active for few seconds and then close automatically. Also i try Startup.bat file at MS DOS promt, it shows some lines as follows: C:\Apache\Tomcat\binstartup Using CATALINA_BASE: C:\APACHE\TOMCAT Using CATALINA_HOME: C:\APACHE\TOMCAT Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp Using JAVA_HOME: C:\jdk1.3 C:\Apache\Tomcat\bin And in the mid also a new DOS base window shows a name 'Java' opened for few seconds and automatically closed. Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it must shows a Catalina named window and remained active till I did not issue a command Shutdown. So please guide me what I should do in this connection in detail. An early reply shall highly bhe appreicated. Saeed Programmer - Original Message - From: John Hill To: 'Tomcat Users List' Sent: Tuesday, July 20, 2004 4:38 PM Subject: where to put config.xml Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Do you Yahoo!? New and Improved Yahoo! Mail - 100MB free storage!
where to put config.xml
Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
Dear Sir/Madam I do not know much about the Question - so sorry sir/madam as i am new to this thing. I do have however question from you. I start learning JSP and ohter J2EE tools recently. I buy a book of Professional JSP 2nd Edition. Sir i am facing a problem: I dowload jakarta_tomcat 4.1.30.exe from the website. I already do have jdk1.3 at my PC ( iam using win98 OS). Now after installing jakarta_tomcat to a folder c\apache\tomcat, I create two environment variables into my Autoexe.bat file as under : set JAVA_HOME=C:\jdk1.3 set CATALINA_HOME=C:\APACHE\TOMCAT Now when I Start Tomcat - a DOS base window is opened and remained active for few seconds and then close automatically. Also i try Startup.bat file at MS DOS promt, it shows some lines as follows: C:\Apache\Tomcat\binstartup Using CATALINA_BASE: C:\APACHE\TOMCAT Using CATALINA_HOME: C:\APACHE\TOMCAT Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp Using JAVA_HOME: C:\jdk1.3 C:\Apache\Tomcat\bin And in the mid also a new DOS base window shows a name 'Java' opened for few seconds and automatically closed. Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it must shows a Catalina named window and remained active till I did not issue a command Shutdown. So please guide me what I should do in this connection in detail. An early reply shall highly bhe appreicated. Saeed Programmer - Original Message - From: John Hill [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 4:38 PM Subject: where to put config.xml Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
Return Receipt Your Re: where to put config.xml document: was received Nicolas PEREZ/PAR/HD/Corp by: at: 20/07/2004 13:50:44 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
You can find out more info on the exact cause of the error by looking at Tomcat's error/general log located at: TOMCAT_HOME/logs/ Sayeed wrote: Dear Sir/Madam I do not know much about the Question - so sorry sir/madam as i am new to this thing. I do have however question from you. I start learning JSP and ohter J2EE tools recently. I buy a book of Professional JSP 2nd Edition. Sir i am facing a problem: I dowload jakarta_tomcat 4.1.30.exe from the website. I already do have jdk1.3 at my PC ( iam using win98 OS). Now after installing jakarta_tomcat to a folder c\apache\tomcat, I create two environment variables into my Autoexe.bat file as under : set JAVA_HOME=C:\jdk1.3 set CATALINA_HOME=C:\APACHE\TOMCAT Now when I Start Tomcat - a DOS base window is opened and remained active for few seconds and then close automatically. Also i try Startup.bat file at MS DOS promt, it shows some lines as follows: C:\Apache\Tomcat\binstartup Using CATALINA_BASE: C:\APACHE\TOMCAT Using CATALINA_HOME: C:\APACHE\TOMCAT Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp Using JAVA_HOME: C:\jdk1.3 C:\Apache\Tomcat\bin And in the mid also a new DOS base window shows a name 'Java' opened for few seconds and automatically closed. Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it must shows a Catalina named window and remained active till I did not issue a command Shutdown. So please guide me what I should do in this connection in detail. An early reply shall highly bhe appreicated. Saeed Programmer - Original Message - From: John Hill [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 4:38 PM Subject: where to put config.xml Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
there is nothing in Error/general Logs ? what i can do and how i can find where is fault? Saeed - Original Message - From: Schalk Neethling [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 5:01 PM Subject: Re: where to put config.xml You can find out more info on the exact cause of the error by looking at Tomcat's error/general log located at: TOMCAT_HOME/logs/ Sayeed wrote: Dear Sir/Madam I do not know much about the Question - so sorry sir/madam as i am new to this thing. I do have however question from you. I start learning JSP and ohter J2EE tools recently. I buy a book of Professional JSP 2nd Edition. Sir i am facing a problem: I dowload jakarta_tomcat 4.1.30.exe from the website. I already do have jdk1.3 at my PC ( iam using win98 OS). Now after installing jakarta_tomcat to a folder c\apache\tomcat, I create two environment variables into my Autoexe.bat file as under : set JAVA_HOME=C:\jdk1.3 set CATALINA_HOME=C:\APACHE\TOMCAT Now when I Start Tomcat - a DOS base window is opened and remained active for few seconds and then close automatically. Also i try Startup.bat file at MS DOS promt, it shows some lines as follows: C:\Apache\Tomcat\binstartup Using CATALINA_BASE: C:\APACHE\TOMCAT Using CATALINA_HOME: C:\APACHE\TOMCAT Using CATALINA_TMPDIR: C:\APACHE\TOMCAT\temp Using JAVA_HOME: C:\jdk1.3 C:\Apache\Tomcat\bin And in the mid also a new DOS base window shows a name 'Java' opened for few seconds and automatically closed. Sir/Madam, whats the wrong with the tomcat? coz as per book instructions it must shows a Catalina named window and remained active till I did not issue a command Shutdown. So please guide me what I should do in this connection in detail. An early reply shall highly bhe appreicated. Saeed Programmer - Original Message - From: John Hill [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 4:38 PM Subject: where to put config.xml Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Kind Regards Schalk Neethling Web Developer.Designer.Programmer.President Volume4.Development.Multimedia.Branding emotionalize.conceptualize.visualize.realize Tel: +27125468436 Fax: +27125468436 email:[EMAIL PROTECTED] web: www.volume4.co.za This message contains information that is considered to be sensitive or confidential and may not be forwarded or disclosed to any other party without the permission of the sender. If you received this message in error, please notify me immediately so that I can correct and delete the original email. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: where to put config.xml
Return Receipt Your Re: where to put config.xml document: was received Nicolas PEREZ/PAR/HD/Corp by: at: 20/07/2004 14:29:49 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: where to put config.xml
Hi, The META-INF/context.xml file is only consulted if inside a WAR. Otherwise, put the config.xml file in the webapps directory itself (if your autodeploy is on, which is the default), or whatever directory you designate as the Host's appBase (tomcat4), or the conf/[engine name]/[host name] directory (tomcat 5). Yoav Shapira Millennium Research Informatics -Original Message- From: John Hill [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 20, 2004 7:39 AM To: 'Tomcat Users List' Subject: where to put config.xml Hi can anyone tell me where I should put the config.xml file for a web application. IF I put it under META-INF , tomcat doesnt seem to find it. Does it need to be in a WAR file for this to occur ? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]