Re: how to add a context to server.xml?
i started java-programming with netbeans 3.2. i never had the problem to do something with web.xml but everything was running. then i upgraded to 3.5 and nothing ran! so i had to learn something about servlet-mappings in web.xml. but it's only a basic knowledge. although everything now is running again! so my only way to work a little bit with web.xml is servlet-mapping. greetings hans Schalk schrieb: Hans Do you use your web.xml file at all to do any servlet mappings etc.? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO 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. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Friday, November 28, 2003 12:01 PM :: To: Tomcat Users List :: Subject: Re: how to add a context to server.xml? :: :: hi, :: :: thank you for your mail. i tried it out but found that it was no :: solution (as i hoped) to my other problem (i posted it already): the :: doesn't work. you asked me, if i used web.xml or :: "direct-call". :: :: what can i do here else? :: greetings :: hans :: :: Schalk schrieb: :: :: >Hans :: > :: >I personally have not used the admin or manager to make these entries and :: >have been doing them by hand. The entry in the server.xml will be something :: >like: :: > :: >reloadable="true" /> :: > :: >Kind Regards :: >Schalk Neethling :: >Web Developer.Designer.Programmer.CEO :: >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. :: > :: >:: -Original Message- :: >:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: >:: Sent: Friday, November 28, 2003 11:17 AM :: >:: To: [EMAIL PROTECTED] :: >:: Subject: how to add a context to server.xml? :: >:: :: >:: hello, :: >:: :: >:: i installed a .war-file with manager. i noticed, that in server.xml :: >:: there was no entry for the corresponding context afterwards. :: >:: :: >:: i wanted to do it with the tomcat-admin-page, i got the message, that my :: >:: alterations were saved. but then again: no context in server.xml. :: >:: :: >:: must i do it by hand? (for a beginner not so fine!). :: >:: :: >:: greetings :: >:: hans horwath, austria :: >:: :: >:: :: >:: :: >:: - :: >:: 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] :: > :: > :: > :: > :: :: :: :: - :: 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to add a context to server.xml?
Hans Do you use your web.xml file at all to do any servlet mappings etc.? Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO 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. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Friday, November 28, 2003 12:01 PM :: To: Tomcat Users List :: Subject: Re: how to add a context to server.xml? :: :: hi, :: :: thank you for your mail. i tried it out but found that it was no :: solution (as i hoped) to my other problem (i posted it already): the :: doesn't work. you asked me, if i used web.xml or :: "direct-call". :: :: what can i do here else? :: greetings :: hans :: :: Schalk schrieb: :: :: >Hans :: > :: >I personally have not used the admin or manager to make these entries and :: >have been doing them by hand. The entry in the server.xml will be something :: >like: :: >reloadable="true" /> :: > :: >Kind Regards :: >Schalk Neethling :: >Web Developer.Designer.Programmer.CEO :: >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. :: > :: >:: -Original Message- :: >:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: >:: Sent: Friday, November 28, 2003 11:17 AM :: >:: To: [EMAIL PROTECTED] :: >:: Subject: how to add a context to server.xml? :: >:: :: >:: hello, :: >:: :: >:: i installed a .war-file with manager. i noticed, that in server.xml :: >:: there was no entry for the corresponding context afterwards. :: >:: :: >:: i wanted to do it with the tomcat-admin-page, i got the message, that my :: >:: alterations were saved. but then again: no context in server.xml. :: >:: :: >:: must i do it by hand? (for a beginner not so fine!). :: >:: :: >:: greetings :: >:: hans horwath, austria :: >:: :: >:: :: >:: :: >:: - :: >:: 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] :: > :: > :: > :: > :: :: :: :: - :: 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: how to add a context to server.xml?
You don't need to do it at all. Tomcat will create a default context in memory if it finds your war file in the right place. If you do want to specify things about the context you will need to add a section to server.xml. If you want to do this I recommend you first remove all the comments and extra rubbish you are not using in server.xml and then format the XML properly and then you will see that it is actually quite easy to understand. You may have to do some reading though! Andoni. If you are using Tomcat 4.1 then you need this: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/index.html If you are using Tomcat 5.0 you will need this: http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/index.html A. - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, November 28, 2003 9:17 AM Subject: how to add a context to server.xml? > hello, > > i installed a .war-file with manager. i noticed, that in server.xml > there was no entry for the corresponding context afterwards. > > i wanted to do it with the tomcat-admin-page, i got the message, that my > alterations were saved. but then again: no context in server.xml. > > must i do it by hand? (for a beginner not so fine!). > > greetings > hans horwath, austria > > > > - > 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: how to add a context to server.xml?
hi, thank you for your mail. i tried it out but found that it was no solution (as i hoped) to my other problem (i posted it already): the doesn't work. you asked me, if i used web.xml or "direct-call". what can i do here else? greetings hans Schalk schrieb: Hans I personally have not used the admin or manager to make these entries and have been doing them by hand. The entry in the server.xml will be something like: Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO 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. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Friday, November 28, 2003 11:17 AM :: To: [EMAIL PROTECTED] :: Subject: how to add a context to server.xml? :: :: hello, :: :: i installed a .war-file with manager. i noticed, that in server.xml :: there was no entry for the corresponding context afterwards. :: :: i wanted to do it with the tomcat-admin-page, i got the message, that my :: alterations were saved. but then again: no context in server.xml. :: :: must i do it by hand? (for a beginner not so fine!). :: :: greetings :: hans horwath, austria :: :: :: :: - :: 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] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: how to add a context to server.xml?
Hans I personally have not used the admin or manager to make these entries and have been doing them by hand. The entry in the server.xml will be something like: Kind Regards Schalk Neethling Web Developer.Designer.Programmer.CEO 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. :: -Original Message- :: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] :: Sent: Friday, November 28, 2003 11:17 AM :: To: [EMAIL PROTECTED] :: Subject: how to add a context to server.xml? :: :: hello, :: :: i installed a .war-file with manager. i noticed, that in server.xml :: there was no entry for the corresponding context afterwards. :: :: i wanted to do it with the tomcat-admin-page, i got the message, that my :: alterations were saved. but then again: no context in server.xml. :: :: must i do it by hand? (for a beginner not so fine!). :: :: greetings :: hans horwath, austria :: :: :: :: - :: 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]