Hi Dennis, Perhaps, it's all to do with the working folder assigned to the program you run.
When you run "c:\Java\jakarta-tomcat-4.0.1\bin\startup.bat" from the windows explorer, the working directory becomes, "c:\Java\jakarta-tomcat- 4.0.1\bin\" When you run the shortcut, the working directory becomes the desktop directory ! I dont have a win2K system right now, but this folder should be either your "personal" folder, or your "profile" folder. Solution. Go to the shortcut, and give "c:\Java\jakarta-tomcat-4.0.1\bin\" as the working folder. Regards, Sriram 1/9/02 9:07:30 PM, "Dennis Bowden" <[EMAIL PROTECTED]> wrote: >I run under Windows 2000. I just upgraded from Tomcat 3.2.1 to 4.0.1 >and found something peculiar. If I start Tomcat by clicking on >c:\Java\jakarta-tomcat-4.0.1\bin\startup.bat everything works normally. >However, if I use the shortcut created on the Windows menu by the >installation program, my servlets can no longer find my db.properties >file, which is in my >c:\jdk1.3.0_02\jre\lib folder. Started from the shortcut, when one of >my servlets tries to open db.properties, Tomcat reports that it cannot >find it, because it is not on the CLASSPATH. > >To get Tomcat to work using startup.bat , I needed to modify >catalina.bat so that the path to db.properties would be included. >However, this had no effect on the install-created shortcuts. > >Any ideas? What is the CLASSPATH used when the shortcuts are clicked >on? > >Thanks > >Dennis Bowden > > >-- >To unsubscribe: <mailto:[EMAIL PROTECTED]> >For additional commands: <mailto:[EMAIL PROTECTED]> >Troubles with the list: <mailto:[EMAIL PROTECTED]> > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>