JDK is not enough. SDK is needed

2002-11-23 Thread john delby
The instructions to install Tomcat under Windows indicated the requirement to install the JAVA JDK. However I was having compile problems with JSP pages and learned that I needed tools.jar. JDK does not install thie file so I was wondering how others are running Tomcat with JDK only. I

TagLibs in Tomcat3.3.1

2002-11-23 Thread Laxmikanth M.S.
Hi all, Is it possible to write TagLibs in Tomcat3.3.1 version. thanks laxmikanth * Disclaimer: The information in this e-mail and any attachments is confidential / privileged. It is intended solely for the addressee or

Re: JDK is not enough. SDK is needed

2002-11-23 Thread Pae Choi
John, What is/are the difference(s) between JDK and Java SDK from your viewpoint? From what I understand, they are same, but the name just changed in the naming transition. I am guessing that your JDK may referring to JRE? :-) Pae The instructions to install Tomcat under Windows indicated

Re: Tomcat NT Service Runtime.exec()

2002-11-23 Thread simon
I am running cmds ok from win200 with tomcat 4.12 have ago wuth this example - It migth be bad code but it works ok with and pinted as html escape code (#60; and #62;). Regards, Simon HTML BODY %@page language=java import=java.sql.*% %@page import=java.io.* % %@page import=java.util.* %

Re: Tomcat NT Service Runtime.exec()

2002-11-23 Thread Pae Choi
I am comfortable with Java security though, but I would not place such code in the live site. Man! you guys got a lot of guts to do that. :-) Pae I am running cmds ok from win200 with tomcat 4.12 have ago wuth this example - It migth be bad code but it works ok with and pinted as html

Re: does tomcat automatically revert to url rewriting...

2002-11-23 Thread jfc
Craig R. McClanahan wrote: On Fri, 22 Nov 2002, jfc wrote: Date: Fri, 22 Nov 2002 11:11:28 + From: jfc [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: does tomcat automatically revert to url rewriting... Craig R.

Apache-Tomcat Conf

2002-11-23 Thread Nitesh Garg
I hv downloaded Apache/Tomcat 4.1.12 and have apache 2.0, I want to configure my tomv\cat with apache. As in the given step when I run tomcat(it runs on standalone ) it does not generate mod_jk.conf-auto that i need to put in http.conf. Any suggestion to configure tomcat with apache will be

Re: Tomcat Windows installer reports wrong JAVA_HOME variable

2002-11-23 Thread vivek baliga
hi, copy tools.jar in \common folder (it worked fine for me). set JAVA_HOME to jdk folder for Tomcat 4 (preferably atleast jdk1.3) Rgds, jabs - Original Message - From: john delby [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, November 23, 2002 6:07 AM Subject:

how can i get tomcat to take my servlets?

2002-11-23 Thread Rotaru Razvan
hi, i have tomcat4 and a site with compiled servlets (or jsps). I only have .class files. I created a context but tomcat does not take the index.class file, it just lists my files. How can i do it? kind regards, Razvan __ Do you Yahoo!? Yahoo!

Re: how can i get tomcat to take my servlets?

2002-11-23 Thread David Brown
Rotaru Razvan writes: hi, i have tomcat4 and a site with compiled servlets (or jsps). I only have .class files. I created a context but tomcat does not take the index.class file, it just lists my files. How can i do it? kind regards, Razvan

What the problem about tomcat 4.1 or IE? in my computer?

2002-11-23 Thread james
Hi, I used Tomcat 4.1 for 2 weeks, and I practiced some samples, it was fine, but today, it didn't work well anymore. I uninstalled it and installer it again and again, the Tomcat Server looks OK, for the info on screen was the same as before. but when I tried :

Re: Apache-Tomcat Conf

2002-11-23 Thread Ron Smits
To get tomcat to generate the mod_jk.conf file I had to do the following: just after the Server line in server.xml add: Listener className=org.apache.ajp.tomcat4.config.ApacheConfig modJk=/opt/apache2/lib/mod_jk.so

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-23 Thread p niemandt
Uninstall win2k, install linux, see if your problem persists ... :) naah; seriously: check the logs: see if there is anything funny. Which JDK are you using? Maybe try reinstalling that, see if that helps. On Sat, 2002-11-23 at 15:41, james wrote: Hi, I used Tomcat 4.1 for 2 weeks, and I

Newbie - configuring webapps with multiple servlets

2002-11-23 Thread bido
Hi Everyone, I believe I do not understand how to configure a servlet in the webapp's web.xml hence need a hand conceptually. I get the following error when I added an additional servlet to my webapp: org.xml.sax.SAXParseException: The content of element type web-app must match

Re: Newbie - configuring webapps with multiple servlets

2002-11-23 Thread p niemandt
It's not tomcat you are misunderstanding, it's xml ... ;) look at the error ... basically it states that servlet* definitions needs to be defined before your servlet-mapping* definitions, so in your case it would be ... servlet servlet-nameC2/servlet-name

Re: Newbie - configuring webapps with multiple servlets

2002-11-23 Thread james
I have the same problem before. this is because the order problem. Check the order of elements between web-app and /web-app, if you do not know the order, pls check the .dtd file in the very begginiing of web.xml James - Original Message - From: [EMAIL PROTECTED] To: Tomcat Users List

Re: Newbie - configuring webapps with multiple servlets

2002-11-23 Thread bido
Cool, thanks everyone for the feedback. That pretty much nails it. -FB On Saturday, November 23, 2002, at 10:18 AM, james wrote: I have the same problem before. this is because the order problem. Check the order of elements between web-app and /web-app, if you do not know the order, pls

Re: Apache-Tomcat Conf

2002-11-23 Thread David Brown
Nitesh Garg writes: I hv downloaded Apache/Tomcat 4.1.12 and have apache 2.0, I want to configure my tomv\cat with apache. As in the given step when I run tomcat(it runs on standalone ) it does not generate mod_jk.conf-auto that i need to put in http.conf. Any suggestion to configure

apache and tomcat and a webapp

2002-11-23 Thread Ron Smits
This might not even be possible but I cannot find a definitive yes or no answer I am developing a webapp based on jsp and servlets. Once this is done I want to deploy it on a server that has several domains on it. Currently this server is running apache with JServ. My idea is to have apache

Re: apache and tomcat and a webapp

2002-11-23 Thread David Brown
Ron Smits writes: This might not even be possible but I cannot find a definitive yes or no answer I am developing a webapp based on jsp and servlets. Once this is done I want to deploy it on a server that has several domains on it. Currently this server is running apache with JServ. My idea

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-23 Thread Pae Choi
I hope the other side know how to appreciate the sense of humor. :-) Also, try http://localhost:8080/index.jsp as well. Pae Uninstall win2k, install linux, see if your problem persists ... :) naah; seriously: check the logs: see if there is anything funny. Which JDK are you using? Maybe

Re: What the problem about tomcat 4.1 or IE? in my computer?

2002-11-23 Thread David Brown
p niemandt writes: Uninstall win2k, install linux, see if your problem persists ... :) naah; seriously: check the logs: see if there is anything funny. Which JDK are you using? Maybe try reinstalling that, see if that helps. On Sat, 2002-11-23 at 15:41, james wrote: Hi, I used Tomcat

cannot start tomcat

2002-11-23 Thread Martin Dimitrov
I just install= ed tomcat-4.1. After the installation Tomcat created shortcuts to my star= t menu for starting and stopping. This is very neat. However when I push = the button to start I command window flashes for a second and then dissap= ears. Then when I go to http://localhos= t:8082 (I

Re: JDK is not enough. SDK is needed

2002-11-23 Thread john delby
One is a 30M download and one is less than 10M so obviously one has more stuff in it... like tools.jar. If Tomcat fails to compile JSP pages and you have no idea why don't you think it's a problem when the instructions talk about the JDK which does not include tools.jar when seems to be

DataSource problem

2002-11-23 Thread Daniel Tamborelli Alvarenga
I've installed Tomcat 4.1 on Windows 2000 and MySQL I've configured the Data Source in the server.xml and that's ok... but when I try to get the connection from my source code Tomcat seems to enter in an infinite loop. Does anybody know what may be wrong? Thanks

Re: apache and tomcat and a webapp

2002-11-23 Thread Ron Smits
Let me try and be more specific :) First of all, if I get all to work the current setup with JServ will disappear and I am testing this in a test environment (Vmware) So let me see if I can chop my questions up in different parts The application is being developed using tomcat 4.1.12 running

Re: TagLibs in Tomcat3.3.1

2002-11-23 Thread Craig R. McClanahan
On Sat, 23 Nov 2002, Laxmikanth M.S. wrote: Date: Sat, 23 Nov 2002 14:41:11 +0530 From: Laxmikanth M.S. [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: TagLibs in Tomcat3.3.1 Hi all, Is it possible to write TagLibs in

errors pages in tomcat 4.1.12

2002-11-23 Thread Dionisio Ruiz de Zarate
Hello i want to make my own error pages for the common errorsa (500, 550, 404, 413 ...) how and where can i configure in tomcat this? thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: errors pages in tomcat 4.1.12

2002-11-23 Thread p niemandt
I have not done this myself yet, but as far as I know it should be defined like the welcome files are defined in your application web.xml There should be documents on this: scan the web. hth On Sat, 2002-11-23 at 23:07, Dionisio Ruiz de Zarate wrote: Hello i want to make my own error pages

Re: errors pages in tomcat 4.1.12

2002-11-23 Thread Joe Tomcat
On Sat, 2002-11-23 at 15:07, Dionisio Ruiz de Zarate wrote: Hello i want to make my own error pages for the common errorsa (500, 550, 404, 413 ...) how and where can i configure in tomcat this? Put this in WEB-INF/web.xml: error-page error-code404/error-code

Over-aged Newbie needs some help

2002-11-23 Thread Steve R Burrus
Hi, I need some degree of help/assistance from someone re. just how exactly you go about starting to build or create JSP's or Servlets in the Tomcat container!!! Do you first establish a context or something??! And, then if that's the case, where do you go from there anyway? Incidentally, I am

RE: Over-aged Newbie needs some help

2002-11-23 Thread Jason Jonas
Try working through some of the tutorials at java.sun.com. Here's a link to the main tutorials page: http://developer.java.sun.com/developer/onlineTraining/ and a link to the Java Web Services tutorial specifically: http://java.sun.com/webservices/docs/1.0/tutorial/index.html Jason

Re: Over-aged Newbie needs some help

2002-11-23 Thread Craig R. McClanahan
On Sat, 23 Nov 2002, Steve R Burrus wrote: Hi, I need some degree of help/assistance from someone re. just how exactly you go about starting to build or create JSP's or Servlets in the Tomcat container!!! Do you first establish a context or something??! And, then if that's the case, where

Re: Over-aged Newbie needs some help

2002-11-23 Thread Michele Emmi
But if he is an over-aged newbie he might prefer book over reading off a computer screengod knows this cough over-aged newbie does! I am reading: Apache Jarkart-Tomcat by Goodwill Sun one programming by Mogha and Bhargava Michele From: Craig R. McClanahan [EMAIL PROTECTED] Reply-To:

Re: JDK is not enough. SDK is needed

2002-11-23 Thread Pae Choi
It sounds like that the 10MB download is JRE and the = 30MB is JDK, Java SDK(or J2 SDK). I suggest you to learn the differences between two first. The runtime environment does not necessarily require all packages, e.g., tools.jar, as they do in the development environment. Pae One is a 30M

Re: Over-aged Newbie needs some help

2002-11-23 Thread micael
I don't know if this is helpful, but I do have to say that the documentation in jakarta generally is excellent, and that is especially so in tomcat and struts. At 04:20 PM 11/23/2002 -0800, you wrote: On Sat, 23 Nov 2002, Steve R Burrus wrote: Hi, I need some degree of help/assistance

Re: JDK is not enough. SDK is needed

2002-11-23 Thread john delby
According to this page, it references j2se which is the JRE, the runtime. If you're using Tomcat binaries and not compiling any Java, you would think you only need the runtime libraries and not the whole SDK. http://members.ozemail.com.au/~lampante/howto/tomcat/iisnt/#1 Also Jakarta's site is