Tomcat setup question.
Ok I have tomcat all installed and serving up web pages nicely. I am able to access everything ok so far. The problem: I have installed J2SDK and tomcat both and set the appropriate environmental variables (I believe). I am able to compile java classes that contain standard java imports (i.e. java.util, java.text, etc) just fine, however when I want to compile anything that includes the java.servlet package, it is failing to find the package. I have noted that if I go into the Tomcat/webapps/examples/web-inf/classes directory and attempt to compile any of the classes that come with Tomcat by default, they ALSO fail, telling me they cannot find the javax.servlet package. I have also noticed that the Tomcat install came with a great deal of .jar files, several of which seem to include the classes that I am looking for. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? Thanks for any help! Patrick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat setup question.
So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Tomcat setup question.
Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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: Tomcat setup question.
Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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]
RE: Tomcat setup question.
Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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]
Re: Tomcat setup question.
Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Tomcat setup question.
When you add jars to the classpath you have to add the (full name of the) jar itself, not just the directory where it lives. If the classes are unpacked (i.e. you've unzipped the jar), then you just add the directory. Does that help? Mike. - Original Message - From: Peng Tuck Kwok [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 1:09 AM Subject: Re: Tomcat setup question. Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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] -- 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: Tomcat setup question.
Ok here's the current setup I have: 1) The j2sdk installed in C:\j2sdk 2) The j2ee installed in C:\j2ee (because this supposedly contains what I need) 3) Tomcat installed in C:\Program Files\Apache Group\Tomcat 4.1 4) The following environmental variables set: a) J2EE_HOME = C:\j2ee b) JAVA_HOME = C:\j2sdk c) Both C:\j2ee\bin and C:\j2sdk\bin added to PATH. d) TOMCAT_HOME = C:\Program Files\Apache Group\Tomcat 4.1 e) There is no CLASSPATH variable set. I have noted that C:\j2ee\lib\j2ee.jar contains the HttpServlet class as does C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar. If I try to compile, my compiler (from Sun) fails to import java.servlet.* and java.servlet.http.*. If I try to add the .jar file the classpath, it still fails to compile. Below is the servlet (it's very simple, I just want to get this thing working!). import java.io.*; import java.util.*; import java.servlet.*; import java.servlet.http.*; public class Test extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); out.println(HTML); out.println(HEADTITLETest/TITLE/HEAD); out.println(BODY); out.println(test); out.println(/BODY); out.println(/HTML); } } -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:10 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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] -- 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: Tomcat setup question.
As an earlier poster pointed out, it's not: import java.servlet.*; import java.servlet.http.*; It's: import javax.servlet.*; import javax.servlet.http.*; Try that? (You'll still need the jar in your classpath (unless there's a script doing something clever with the _HOME variables that I don't know about).) Also, I tend not to use pathnames with spaces in, just in case. Mike. - Original Message - From: Patrick Martz [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 1:26 AM Subject: RE: Tomcat setup question. Ok here's the current setup I have: 1) The j2sdk installed in C:\j2sdk 2) The j2ee installed in C:\j2ee (because this supposedly contains what I need) 3) Tomcat installed in C:\Program Files\Apache Group\Tomcat 4.1 4) The following environmental variables set: a) J2EE_HOME = C:\j2ee b) JAVA_HOME = C:\j2sdk c) Both C:\j2ee\bin and C:\j2sdk\bin added to PATH. d) TOMCAT_HOME = C:\Program Files\Apache Group\Tomcat 4.1 e) There is no CLASSPATH variable set. I have noted that C:\j2ee\lib\j2ee.jar contains the HttpServlet class as does C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar. If I try to compile, my compiler (from Sun) fails to import java.servlet.* and java.servlet.http.*. If I try to add the .jar file the classpath, it still fails to compile. Below is the servlet (it's very simple, I just want to get this thing working!). import java.io.*; import java.util.*; import java.servlet.*; import java.servlet.http.*; public class Test extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); out.println(HTML); out.println(HEADTITLETest/TITLE/HEAD); out.println(BODY); out.println(test); out.println(/BODY); out.println(/HTML); } } -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:10 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands
Re: Tomcat setup question.
It's javax.servlet, not java.servlet. So that why there is no such package or class to be found. It should compile if you add the servlet.jar to the classpath variable or specify the -classpath variable to the compiler. Patrick Martz wrote: Ok here's the current setup I have: 1) The j2sdk installed in C:\j2sdk 2) The j2ee installed in C:\j2ee (because this supposedly contains what I need) 3) Tomcat installed in C:\Program Files\Apache Group\Tomcat 4.1 4) The following environmental variables set: a) J2EE_HOME = C:\j2ee b) JAVA_HOME = C:\j2sdk c) Both C:\j2ee\bin and C:\j2sdk\bin added to PATH. d) TOMCAT_HOME = C:\Program Files\Apache Group\Tomcat 4.1 e) There is no CLASSPATH variable set. I have noted that C:\j2ee\lib\j2ee.jar contains the HttpServlet class as does C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar. If I try to compile, my compiler (from Sun) fails to import java.servlet.* and java.servlet.http.*. If I try to add the .jar file the classpath, it still fails to compile. Below is the servlet (it's very simple, I just want to get this thing working!). import java.io.*; import java.util.*; import java.servlet.*; import java.servlet.http.*; public class Test extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); out.println(HTML); out.println(HEADTITLETest/TITLE/HEAD); out.println(BODY); out.println(test); out.println(/BODY); out.println(/HTML); } } -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:10 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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] -- 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]
RE: Tomcat setup question.
Ok thanks, I finally got it to compile. Hooray! Thanks all for the help. The javax is what was apparently throwing me off, as all the code I'm working off of uses java. Thanks again. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:48 PM To: Tomcat Users List Subject: Re: Tomcat setup question. It's javax.servlet, not java.servlet. So that why there is no such package or class to be found. It should compile if you add the servlet.jar to the classpath variable or specify the -classpath variable to the compiler. Patrick Martz wrote: Ok here's the current setup I have: 1) The j2sdk installed in C:\j2sdk 2) The j2ee installed in C:\j2ee (because this supposedly contains what I need) 3) Tomcat installed in C:\Program Files\Apache Group\Tomcat 4.1 4) The following environmental variables set: a) J2EE_HOME = C:\j2ee b) JAVA_HOME = C:\j2sdk c) Both C:\j2ee\bin and C:\j2sdk\bin added to PATH. d) TOMCAT_HOME = C:\Program Files\Apache Group\Tomcat 4.1 e) There is no CLASSPATH variable set. I have noted that C:\j2ee\lib\j2ee.jar contains the HttpServlet class as does C:\Program Files\Apache Group\Tomcat 4.1\common\lib\servlet.jar. If I try to compile, my compiler (from Sun) fails to import java.servlet.* and java.servlet.http.*. If I try to add the .jar file the classpath, it still fails to compile. Below is the servlet (it's very simple, I just want to get this thing working!). import java.io.*; import java.util.*; import java.servlet.*; import java.servlet.http.*; public class Test extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.setContentType(text/html); PrintWriter out = res.getWriter(); out.println(HTML); out.println(HEADTITLETest/TITLE/HEAD); out.println(BODY); out.println(test); out.println(/BODY); out.println(/HTML); } } -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:10 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Don't panic, just attach a sample servlet that you were trying to compile to the list. I'll have a look at it and try to get it to compile ok? The javac -classpath should work by the way. Patrick Martz wrote: Thank you for the help. However, I tried that...I added the directory where servlet.jar is located to the classpath. Once I do that, it no longer recognizes ANY of the other classes in its own directory, and therefore cannot make any references to them. I am frankly stumpedand I apologize for my ignorance but this is all very new to me. -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 5:00 PM To: Tomcat Users List Subject: Re: Tomcat setup question. Tomcat comes with servlet.jar, which has all the classes you need. Or you can download a copy from Sun Microsystems as well. Just point your compiler to the servlet.jar or add it to the classpath. If you unpack the servlet.jar with winzip you'll see what I mean. Plus I think it is javax.servlet, not java.servlet. Patrick Martz wrote: Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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
Re: Tomcat setup question.
You require a file called servlet.jar. Put this file in the lib directory of your JDK and put the entire path in the CLASS_PATH. For the servlet.jar file. Go to java.sun.com - downloads In the J2EE download dropdown, select servlet specification 2.2 or 2.3 Now the download page will come with different links. Look for section on specification, and in that required specification zip file. Download this file, this contains your servlets.jar file which should be around 40KB Try compiling, now it should work. Praveen Wicliff - Original Message - From: Patrick Martz [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Tuesday, December 17, 2002 6:19 AM Subject: RE: Tomcat setup question. Ok this is exactly my problem. These aren't MY jar files. These are jar files that came with Tomcat. Apparently, the standard J2SDK does NOT come with the servlet classes that I need to compile java servlets. So therefore, when I try to import java.servlet.* it fails miserably. Even the classes that come WITH Tomcat itself (for example, HelloWorldExample in the examples directory) are not compilable. Therefore, clearly, something needs to be done so that the java compiler can find these packages. Exactly what that is I do not know and would be very appreciative if anyone could help! -Original Message- From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 4:41 PM To: Tomcat Users List Subject: Re: Tomcat setup question. So do I need to add an environmental variable to let my compiler find these? Or do I just need to move the .jar files to the right location? How do I know which .jar files are the correct ones to use (as I mentioned, there are a number of them that seem to have what I'm looking for)? You can do any of the steps you have suggested yourself or you could also just tell the compiler where to find your jars. javac -classpath would do the trick -- 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]
Re: JDBC, tomcat setup question
HI all, Yesterday I posted the question how to configure jdbc with tomcat and I got some responses although the question seemed to be elementary, thank you. I read some suggested how to documents and it's pretty clear what needs to be done. But the problem I'm trying to resolve is how I may avoid placing jar files under tomcat's directory structure in order to have them picked up. I found the topic External Dependencies that seems to address this issue by setting proper configuration values in build.xml. Hopefully I'll find what I'm looking for. thanks - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 8:02 PM Subject: Re: JDBC, tomcat setup question Not the same... How many people even know what a class loader is when they start using Tomcat..? --- Emir Alikadic [EMAIL PROTECTED] wrote: On 3/13/2002 9:57 PM, August Detlefsen wrote: Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... How about a HOWTO, as in Class Loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
On Thu, 14 Mar 2002, Leila Lappin wrote: Date: Thu, 14 Mar 2002 08:52:10 -0800 From: Leila Lappin [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED], [EMAIL PROTECTED] Subject: Re: JDBC, tomcat setup question HI all, Yesterday I posted the question how to configure jdbc with tomcat and I got some responses although the question seemed to be elementary, thank you. I read some suggested how to documents and it's pretty clear what needs to be done. But the problem I'm trying to resolve is how I may avoid placing jar files under tomcat's directory structure in order to have them picked up. I found the topic External Dependencies that seems to address this issue by setting proper configuration values in build.xml. Hopefully I'll find what I'm looking for. If you place things like JDBC driver JAR files in the directory identified in the Tomcat documentation, it will be recognized for you. If really want to point at a JAR file somewhere else (and you aren't running on a Unix system where you can use symbolic links), then you have to modify the Tomcat startup scripts to include your JAR on the CLASSPATH -- but then, you are on your own for support. CLASSPATH is a cause of horrendous numbers of problems for new Java users. That's why Tomcat ignores it and imposes its own rules. thanks Craig - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 8:02 PM Subject: Re: JDBC, tomcat setup question Not the same... How many people even know what a class loader is when they start using Tomcat..? --- Emir Alikadic [EMAIL PROTECTED] wrote: On 3/13/2002 9:57 PM, August Detlefsen wrote: Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... How about a HOWTO, as in Class Loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
JDBC, tomcat setup question
Hi all, I'm trying to set up tomcat and port an application that I developed and tested using Jrun, being new to the environment and I have two questions. My first question is adding additional jar files like jdbc jar files. I've been reading through a lot of material trying to figure out how to set up tomcat environment to do so, couldn't find any clear references. Under Jrun every web-application has a user classpath that can be modified for additional jar files and third party software. I can't find any such feature in tomcat. Can someone please give me some advice or where to find information on this issue? I haven't read through all documentation yet but the general impression I've been getting is that to modify tomcat's environment and behavior the server must be rebuilt and can't be changed by simply switching the run time environment that supports a new feature. This brings me to my second question, in the document tomcat-3.2/tomcat-ssl-howto.html it is indicates that to use Tomcat with SSL it has to rebuild. Does that mean that if I download the binary I will not have the version that works with SSL? Or better yet if someday in the future I needed to add something that's not part of the features of the download then I would have to download and rebuild to get it? I thank you all in advance for you patience and help. As you may have guessed I'm new to both tomcat and Linux. Leila
Re: JDBC, tomcat setup question
This is definately a RTFM issue, buuut: Put your .jar files in: /path/to/tomcat/lib There is no need to change the classpath, TC picks it up automatically when it is started. --- Leila Lappin [EMAIL PROTECTED] wrote: Hi all, I'm trying to set up tomcat and port an application that I developed and tested using Jrun, being new to the environment and I have two questions. My first question is adding additional jar files like jdbc jar files. I've been reading through a lot of material trying to figure out how to set up tomcat environment to do so, couldn't find any clear references. Under Jrun every web-application has a user classpath that can be modified for additional jar files and third party software. I can't find any such feature in tomcat. Can someone please give me some advice or where to find information on this issue? I haven't read through all documentation yet but the general impression I've been getting is that to modify tomcat's environment and behavior the server must be rebuilt and can't be changed by simply switching the run time environment that supports a new feature. This brings me to my second question, in the document tomcat-3.2/tomcat-ssl-howto.html it is indicates that to use Tomcat with SSL it has to rebuild. Does that mean that if I download the binary I will not have the version that works with SSL? Or better yet if someday in the future I needed to add something that's not part of the features of the download then I would have to download and rebuild to get it? I thank you all in advance for you patience and help. As you may have guessed I'm new to both tomcat and Linux. Leila __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
thanks for the response, what is RTFM? - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 6:08 PM Subject: Re: JDBC, tomcat setup question This is definately a RTFM issue, buuut: Put your .jar files in: /path/to/tomcat/lib There is no need to change the classpath, TC picks it up automatically when it is started. --- Leila Lappin [EMAIL PROTECTED] wrote: Hi all, I'm trying to set up tomcat and port an application that I developed and tested using Jrun, being new to the environment and I have two questions. My first question is adding additional jar files like jdbc jar files. I've been reading through a lot of material trying to figure out how to set up tomcat environment to do so, couldn't find any clear references. Under Jrun every web-application has a user classpath that can be modified for additional jar files and third party software. I can't find any such feature in tomcat. Can someone please give me some advice or where to find information on this issue? I haven't read through all documentation yet but the general impression I've been getting is that to modify tomcat's environment and behavior the server must be rebuilt and can't be changed by simply switching the run time environment that supports a new feature. This brings me to my second question, in the document tomcat-3.2/tomcat-ssl-howto.html it is indicates that to use Tomcat with SSL it has to rebuild. Does that mean that if I download the binary I will not have the version that works with SSL? Or better yet if someday in the future I needed to add something that's not part of the features of the download then I would have to download and rebuild to get it? I thank you all in advance for you patience and help. As you may have guessed I'm new to both tomcat and Linux. Leila __ Do You Yahoo!? Try FREE Yahoo! Mail - the world's greatest free email! http://mail.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
- Original Message - From: Leila Lappin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 3:36 PM Subject: Re: JDBC, tomcat setup question thanks for the response, what is RTFM? Read The ..um ..er lovely Manuals -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
I have been reading the documentation but IMHO they are written for people who already know the environment and are pretty comfortable with jakarta family of products. I'm new to both linux and tomcat. Anyway I found a forum where I may find some answers. thanks again. - Original Message - From: Dave Whitla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 6:27 PM Subject: Re: JDBC, tomcat setup question - Original Message - From: Leila Lappin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 3:36 PM Subject: Re: JDBC, tomcat setup question thanks for the response, what is RTFM? Read The ..um ..er lovely Manuals -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... --- Leila Lappin [EMAIL PROTECTED] wrote: I have been reading the documentation but IMHO they are written for people who already know the environment and are pretty comfortable with jakarta family of products. I'm new to both linux and tomcat. Anyway I found a forum where I may find some answers. thanks again. - Original Message - From: Dave Whitla [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 6:27 PM Subject: Re: JDBC, tomcat setup question - Original Message - From: Leila Lappin [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, March 14, 2002 3:36 PM Subject: Re: JDBC, tomcat setup question thanks for the response, what is RTFM? Read The ..um ..er lovely Manuals -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
On 3/13/2002 9:57 PM, August Detlefsen wrote: Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... How about a HOWTO, as in Class Loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
Not the same... How many people even know what a class loader is when they start using Tomcat..? --- Emir Alikadic [EMAIL PROTECTED] wrote: On 3/13/2002 9:57 PM, August Detlefsen wrote: Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... How about a HOWTO, as in Class Loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
I read the suggested how to document and it's pretty clear what needs to be done. But the problem I'm trying to resolve is how I may avoid placing jar files under tomcat's directory structure in order to have them picked up. I found a topic External Dependencies that seems to address this issue by setting proper configuration values in build.xml. Hopefully I'll find what I'm looking for. thanks - Original Message - From: August Detlefsen [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, March 13, 2002 8:02 PM Subject: Re: JDBC, tomcat setup question Not the same... How many people even know what a class loader is when they start using Tomcat..? --- Emir Alikadic [EMAIL PROTECTED] wrote: On 3/13/2002 9:57 PM, August Detlefsen wrote: Sorry, Leila, my comment was not meant to offend, but yours is the #1 question asked on this list (Where do I put my jar files?). Hmmm... There really should be a FAQ for all this stuff... How about a HOWTO, as in Class Loader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.0-doc/class-loader-howto.html Emir. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! Sports - live college hoops coverage http://sports.yahoo.com/ -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED] -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Re: JDBC, tomcat setup question
Leila Lappin wrote: the problem I'm trying to resolve is how I may avoid placing jar files under tomcat's directory structure in order to have them picked up. I might be misunderstanding your question, but does putting them in WEB-INF/lib not do what you want? -- Christopher St. John [EMAIL PROTECTED] DistribuTopia http://www.distributopia.com -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]
Tomcat setup question: where's conf?
The instructions at http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-iis-howto.htm l list the required files: workers.properties uriworkermap.properties and say that samples can be found under the conf directory. The zip file of binaries that I downloaded didn't have a conf directory and I don't see any such files on the Web site. Where are these files? Thank you, Dave ___ David Chase Software Architect SkyForge Solutions mailto:[EMAIL PROTECTED] http://www.SkyForgeSolutions.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]