Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K
I just took a quick look in the CVS, and it looks like you are right. I don't know why the batch file doesn't run. At least it's not me then:-) You could try: set JAVA_HOME=c:\progra~1\jdk1.3.1_09 and see if it helps. Tried that and it didn't work. Same message as before. Thanks for helping and clarifying things for me. G. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K
I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be quoting the initial Java command. Of course, it is useless to submit a bug-report, since the 3.2.x line is no longer maintained. Graham Reeds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I finally got Tomcat working last night. Nothing odd in that, you'd think, but the problems I have been having is quite frustrating. The reason was I would get a 'Unable to find Program ' message when trying to start the Tomcat server. However, at various stages of installation things would seemingly work fine. So I sat down with a clean system. I had removed all traces of JDK and Tomcat (not that there was any) from my registry and installed them both to their default locations, C:\jakarta-tomcat-3.2.3 and C:\jdk1.3.1_09. I then Modified the scripts and stuff to point to these locations (as mentioned in this tutorial: ) and it worked fine: I compiled a couple of scripts and ran them. I then rebooted and tried again. Still worked. Then I moved Tomcat to C:\Program Files\Apache Group\jakarta-tomcat-3.2.3 and modified the scripts accordingly. That worked (I could view the sample pages and compile my own), so I rebooted and tried again. That worked too. I then uninstalled the JDK, rebooted and installed the JDK to C:\Program Files\jdk1.3.1_09, modified the scripts and hey presto! It wouldn't work. I double checked the scripts. I rebooted, and it still didn't work. Uninstalled and reinstalled JDK to root, changed the scripts and then it worked. Conclusion: I think that Tomcat 3.2.3 has a flaw that can't work with the JDK having spaces in its JAVA_HOME path, but it can have spaces in the TOMCAT_HOME path. The reason I am not using a version higher than 3.2.3 is that I have seen enough to know that the layout of the file system can change drastically between versions in the same release and I'd rather work with an identical system to my Service Provider. And the reason I want the JDK in Program Files is that I like to have a clean PC with an elegant filing system. Having something break that system is irritating. So my question is: Is it possible to run Tomcat 3.2.3 with the JDK installed to some where other than Root which has spaces in the directory path (i.e: 'Program Files') ? -- Graham Reeds, [EMAIL PROTECTED] | http://omnieng.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K
Bill Barker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be quoting the initial Java command. They are both in quotes - I forgot to mention that in my original post. That's why it is suprising. One works with quotes (TOMCAT_HOME) and the other doesn't (JAVA_HOME). Of course, it is useless to submit a bug-report, since the 3.2.x line is no longer maintained. True. Just wondering if anyone else had encountered this. If one person can honestly say 'I have had it working' then it comes down to me. However I am in a limbo where I don't know if it is me or not. -- Graham Reeds, [EMAIL PROTECTED] | http://omnieng.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K
Graham Reeds [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I haven't used 3.2.x in a very very long time. My first guess would be to check the batch files. From the error you are getting, it may just not be quoting the initial Java command. They are both in quotes - I forgot to mention that in my original post. That's why it is suprising. One works with quotes (TOMCAT_HOME) and the other doesn't (JAVA_HOME). I just took a quick look in the CVS, and it looks like you are right. I don't know why the batch file doesn't run. You could try: set JAVA_HOME=c:\progra~1\jdk1.3.1_09 and see if it helps. Of course, it is useless to submit a bug-report, since the 3.2.x line is no longer maintained. True. Just wondering if anyone else had encountered this. If one person can honestly say 'I have had it working' then it comes down to me. However I am in a limbo where I don't know if it is me or not. -- Graham Reeds, [EMAIL PROTECTED] | http://omnieng.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Newbie Question: Tomcat 3.2.3 + JDK1.3.1_09 + Win2K
I finally got Tomcat working last night. Nothing odd in that, you'd think, but the problems I have been having is quite frustrating. The reason was I would get a 'Unable to find Program ' message when trying to start the Tomcat server. However, at various stages of installation things would seemingly work fine. So I sat down with a clean system. I had removed all traces of JDK and Tomcat (not that there was any) from my registry and installed them both to their default locations, C:\jakarta-tomcat-3.2.3 and C:\jdk1.3.1_09. I then Modified the scripts and stuff to point to these locations (as mentioned in this tutorial: ) and it worked fine: I compiled a couple of scripts and ran them. I then rebooted and tried again. Still worked. Then I moved Tomcat to C:\Program Files\Apache Group\jakarta-tomcat-3.2.3 and modified the scripts accordingly. That worked (I could view the sample pages and compile my own), so I rebooted and tried again. That worked too. I then uninstalled the JDK, rebooted and installed the JDK to C:\Program Files\jdk1.3.1_09, modified the scripts and hey presto! It wouldn't work. I double checked the scripts. I rebooted, and it still didn't work. Uninstalled and reinstalled JDK to root, changed the scripts and then it worked. Conclusion: I think that Tomcat 3.2.3 has a flaw that can't work with the JDK having spaces in its JAVA_HOME path, but it can have spaces in the TOMCAT_HOME path. The reason I am not using a version higher than 3.2.3 is that I have seen enough to know that the layout of the file system can change drastically between versions in the same release and I'd rather work with an identical system to my Service Provider. And the reason I want the JDK in Program Files is that I like to have a clean PC with an elegant filing system. Having something break that system is irritating. So my question is: Is it possible to run Tomcat 3.2.3 with the JDK installed to some where other than Root which has spaces in the directory path (i.e: 'Program Files') ? -- Graham Reeds, [EMAIL PROTECTED] | http://omnieng.co.uk - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: newbie on Tomcat 3.2.3
Hi, I found out the problem was because my servlet is using a different XML parser and XSL processor than Tomcat 3.2.3. As soon as I removed jaxp.jar and parser.jar from $TOMCAT_HOME/lib and moved my XML parser and XSL processor jar files in the lib directory, restart Tomcat, everything is working fine. Thank you. Anita [EMAIL PROTECTED] mTo: Tomcat Users List [EMAIL PROTECTED] cc: Tomcat Users List [EMAIL PROTECTED] 07/22/02 03:14 Subject: Re: newbie on Tomcat 3.2.3 PM Please respond to Tomcat Users List Yes, I sent a request to the servlet and it threw an exception because the methods called by initialization were not executed. I have *.xml defined as servlet mapping within my web.xml. I tried defining load-on-startup as 5 or using -2147483646. Neither number works. Any thoughts? BTW, I used the same servlet and web.xml on Tomcat 3.3.1 with iPlanet 4.1. I didn't have any issues. Thank you. Anita Robert Nicholson robert@elastica To: Tomcat Users List .com [EMAIL PROTECTED] cc: 07/22/02 03:03 Subject: Re: newbie on Tomcat 3.2.3 PM Please respond to Tomcat Users List Have you submitted a request for you servlet before you expect it to initialize? Do you have a servlet mapping defined in web.xml for it? Also, is it a loadOnStartup servlet or not? On 7/23/02 1:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is not upgrading). I am having problem in getting my servlet to initialize. Have the following directory structure: webapps/mobile/test/WEB-INF/lib/myservlet.jar webapps/mobile/test/WEB-INF/web.xml I added the following in the ContextManager of conf/server.xml, and modify nothing else within the file: Context path= docBase=webapps/mobile/test debug=0 reloadable=true /Context I checked logs/servlet.log, there's no indication the servlet is initialized. Also, the log file generated by myservlet when init() is called is no there. Please tell me what is missing. Thank you. Anita -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
newbie on Tomcat 3.2.3
Hi, I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is not upgrading). I am having problem in getting my servlet to initialize. Have the following directory structure: webapps/mobile/test/WEB-INF/lib/myservlet.jar webapps/mobile/test/WEB-INF/web.xml I added the following in the ContextManager of conf/server.xml, and modify nothing else within the file: Context path= docBase=webapps/mobile/test debug=0 reloadable=true /Context I checked logs/servlet.log, there's no indication the servlet is initialized. Also, the log file generated by myservlet when init() is called is no there. Please tell me what is missing. Thank you. Anita -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie on Tomcat 3.2.3
Have you submitted a request for you servlet before you expect it to initialize? Do you have a servlet mapping defined in web.xml for it? Also, is it a loadOnStartup servlet or not? On 7/23/02 1:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is not upgrading). I am having problem in getting my servlet to initialize. Have the following directory structure: webapps/mobile/test/WEB-INF/lib/myservlet.jar webapps/mobile/test/WEB-INF/web.xml I added the following in the ContextManager of conf/server.xml, and modify nothing else within the file: Context path= docBase=webapps/mobile/test debug=0 reloadable=true /Context I checked logs/servlet.log, there's no indication the servlet is initialized. Also, the log file generated by myservlet when init() is called is no there. Please tell me what is missing. Thank you. Anita -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: newbie on Tomcat 3.2.3
Yes, I sent a request to the servlet and it threw an exception because the methods called by initialization were not executed. I have *.xml defined as servlet mapping within my web.xml. I tried defining load-on-startup as 5 or using -2147483646. Neither number works. Any thoughts? BTW, I used the same servlet and web.xml on Tomcat 3.3.1 with iPlanet 4.1. I didn't have any issues. Thank you. Anita Robert Nicholson robert@elastica To: Tomcat Users List .com[EMAIL PROTECTED] cc: 07/22/02 03:03 Subject: Re: newbie on Tomcat 3.2.3 PM Please respond to Tomcat Users List Have you submitted a request for you servlet before you expect it to initialize? Do you have a servlet mapping defined in web.xml for it? Also, is it a loadOnStartup servlet or not? On 7/23/02 1:36 AM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I am using Tomcat 3.2.3 with Netscape 3.6 (old versions because company is not upgrading). I am having problem in getting my servlet to initialize. Have the following directory structure: webapps/mobile/test/WEB-INF/lib/myservlet.jar webapps/mobile/test/WEB-INF/web.xml I added the following in the ContextManager of conf/server.xml, and modify nothing else within the file: Context path= docBase=webapps/mobile/test debug=0 reloadable=true /Context I checked logs/servlet.log, there's no indication the servlet is initialized. Also, the log file generated by myservlet when init() is called is no there. Please tell me what is missing. Thank you. Anita -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]