Re:Context not working when not in $TOMCAT_HOME/webapps dir

2001-03-11 Thread Peter Adamek
OK, I think I fixed my problem, but I am not sure why this is: Here is the background on the problem. I have a linux machine (RH7) running Apache and Tomcat. All seems to be running well. I was able to create my own context under the $TOMCAT_HOME/webapp directory and it serves jsp's and

tomcat shutdown error

2001-03-11 Thread tomcat
Can anyone tell me why the following error appear almost everytime I shut down tomcat 3.3-m1? [tomcat@earth tomcat]$ bin/shutdown.sh Using classpath: /opt/tomcat/lib/tomcat.jar Using JAVA_HOME: /opt/jdk1.3 Using TOMCAT_HOME: /opt/tomcat Stopping Tomcat. Stoping tomcat on null:8007 null Log:

class loader separation of implementation and API in Tomcat

2001-03-11 Thread Henning Blohm
Hi everybody, I had a problem with the tomcat 3.1 release that I hoped would be resolved by newer releases, but it seems that that never happened: Since tomcat is a framework that integrates Java code it seems natural that tomcat should have a class loader hierarchy that cleanly

SIMPLE SQL QUERY.....

2001-03-11 Thread Mick Sullivan
Hi Can anyone help me with a simple SQL update query. When I insert a value into my DB using the INSERT INTO statement I have no problem. Statement statement = connection.createStatement(); String query = "INSERT INTO parkingPrice (" + " price " + ")

Re: Optimizing Tomcat

2001-03-11 Thread William Brogden
Richard Seymour wrote: Is there anything like a "Ten Things you can do to Optimize Tomcat" document? I've just dropped a web app onto a dual Pentium Pro box and it's running unacceptably slow. I just want to see a list of steps I might take to get the most out of the box. The

help! getting it to work with MS PWS4

2001-03-11 Thread Jan Wagner
Hi, I just don't seem to get it up and working in windows 98 with PWS 4. I installed the JDK 1.2.2 first, then Tomcat, and set up the windows registry according to instructions. The ISAPI redirector works, but trying to open the example page gives an "server or dns not found" error. HTTP log

iis howto

2001-03-11 Thread Trtsao
I look at the posting about Tomcat IIS related topic and followed the instructions. I am confused at "Filter DLL" of configure ISAPI step 8. It seems lots of other user has that problems too. Could you please post a detail description for ISAPI steps. specificly more details about step 8.

escaping text

2001-03-11 Thread Ryan
I have made an update page where you place your news update in a textarea and then SUBMIT the textarea text to a jsp page via POST method. However, I want HTML to be supported. I was wondering what would be the best way to do this. I could escape the text on submission through javascript

Re: escaping text?? is it non-latin support question?

2001-03-11 Thread Tagunov Anthony
Ryan wrote: I have made an update page where you place your news update in a textarea and then SUBMIT the textarea text to a jsp page via POST method. However, I want HTML to be supported. It is not very clear what you mean here, Ryan I was wondering what would be the best way to do this.

Re: escaping text?? is it non-latin support question?

2001-03-11 Thread Tagunov Anthony
Ryan wrote: I have made an update page where you place your news update in a textarea and then SUBMIT the textarea text to a jsp page via POST method. However, I want HTML to be supported. It is not very clear what you mean here, Ryan I was wondering what would be the best way to do this.

Re: escaping text?? is it non-latin support question?

2001-03-11 Thread Tagunov Anthony
Ryan wrote: I have made an update page where you place your news update in a textarea and then SUBMIT the textarea text to a jsp page via POST method. However, I want HTML to be supported. It is not very clear what you mean here, Ryan I was wondering what would be the best way to do this.

Re: SIMPLE SQL QUERY.....

2001-03-11 Thread Mick Sullivan
Hi Clayton, Thanks for the help, but there is still a new row added into the table "parkingPrice". This is what my applyChanges methos looks like now public void applyChanges() throws Exception { Statement statement = connection.createStatement(); String query = "INSERT INTO

XML File Creation On the TomCat Server

2001-03-11 Thread Li Bing
Dear All, I want to create a XML file with a servlet on the TomCat server. However, I got the following errors. By the way, I can create the XML file without the servlet. And I can create an ordinary plain text file with a servlet on the server too. What's the matter? Error: 500 Location:

Re: SIMPLE SQL QUERY.....

2001-03-11 Thread Clayton Peirens
Another thing I forgot to mention is that when doing an update, make sure to make it more specific. As it sits now, the update statement will modify all rows in the table (I'm assuming you have more than one row). - Original Message - From: "Mick Sullivan" [EMAIL PROTECTED] To: [EMAIL

Re: XML File Creation On the TomCat Server

2001-03-11 Thread dmoring
Just did this using Cocoon and Xerces DOM. Xerces is quick for creating the output, take a look at the examples. Just embed that code in your servlet. Cocoon will let you create whatever output you want from the XML file, you will need to create the XSL for each output. Do it smart and you

Re: SIMPLE SQL QUERY.....

2001-03-11 Thread Clayton Peirens
Here's a small sample that updates a row in my Access database. Make sure that your data source name (Pawnshop) matches. I used the prepareStatement so I wouldn't have to worry about quoting strings or formatting dates. java.sql.Connection con = null; try {

Webapp in another location

2001-03-11 Thread Sven Rixen
Hello I have to develop a web application for my thesis at university. Therefore I want to place all files of that application (classes, jsp, etc.) in a seperate directory which is also on another drive. I am using win2000. The tomcat examples work fine and my own servlets do the same, as long

Re: Webapp in another location

2001-03-11 Thread Tagunov Anthony
On Sun, 11 Mar 2001 19:57:02 +0100, Sven Rixen wrote: Hello I have to develop a web application for my thesis at university. Therefore I want to place all files of that application (classes, jsp, etc.) in a seperate directory which is also on another drive. I am using win2000. The tomcat

RE: XML File Creation On the TomCat Server

2001-03-11 Thread Christopher J Cowan
I was getting this error when I first installed TOMCAT. It had something to do with the java home... Except my error was when I ran a JSP page... I changed the java home to the root of my jdk and it went a way... You might want to start with you java_home variable and then move through the

Re: load test performance comparisons - again...

2001-03-11 Thread Horace A. Vallas, Jr.
Hey - thanks guys - I should have posted a followup myself (which I guess this is :-) and thanks for the JProbe suggestion Andy, I'll take a look. And yes - using 1.3. Sean, I haven't seen the blank page thing?? I'll look but I haven't seen any indications in the logs of exceptions. I

Virtual Hosts w/ Tomcat+Apache

2001-03-11 Thread Joshua Lifton
The "Tomcat-Apache HOWTO" document that comes with the Tomcat 3.2.1 distro mentions that there are two different ways to configure Tomcat for virtual hosts; one is to use a different Tomcat for each Apache virtual host and the other is to use the same Tomcat for each Apache virtual host. In the

RE: IIS and Tomcat Trouble!

2001-03-11 Thread Christopher J Cowan
OKAY I got it to work.. I added the c:\jdk1.3\bin to my classpath and the arrow went green... HOW DID I COME TO THIS: http://www.jguru.com/jguru/faq/view.jsp?EID=275211 JGURU HELPED ME Christopher Cowan SalesRepCentral.com Phone: 480.444.2016 Fax: 480.922.8477 -Original

Re: Webapp in another location

2001-03-11 Thread Milt Epstein
On Sun, 11 Mar 2001, Tagunov Anthony wrote: On Sun, 11 Mar 2001 19:57:02 +0100, Sven Rixen wrote: Hello I have to develop a web application for my thesis at university. Therefore I want to place all files of that application (classes, jsp, etc.) in a seperate directory which is also on

RE: Classpath/loader problems for JNDI/JMS with JSP

2001-03-11 Thread Andrew Gilbert
Good thread. This is an extremely frustrating issue. As is apparent from this dicussion, other threads, and our own experience, it is not easy or pretty integrating the latest stable Tomcat (3.2.1) into a full J2EE environment. I am going to give the solution suggested below a try in our

Webapp in another location Part 2

2001-03-11 Thread Sven Rixen
Hello Yes Anthony, you where right. I created the same structure under the new path and tomcat seemed to get the servlet. Unfotunately he now complains about an Error 500 (Internal Servlet Error) with a long list of errors. I've no idea what this is all about. The servlet works perfectly under

RE: TOMCAT vs Apache

2001-03-11 Thread José Carlos Cuéllar
Hi Chandra. Here is the full explanation of this by the Apache people: "Up until now we have not discussed Tomcat as a server add on, instead we have considered it as a stand-alone container and discussed how it can be used. There are however a few problems with this picture: * Tomcat is not

Servlets work, JSP pages don't - WHY?

2001-03-11 Thread Peter Adamek
I installed Apache and Jakarta-Tomcat on my Linux box running RH 7. Basically, I created a new context in the document root directory and tried to write my own servlets and jsp pages. Well, servlets work OK, jsp pages don't (whether I am using the Tomcat server (8080) or the Tomcat via Apache).

JSPs everywhere

2001-03-11 Thread Thomas Kuhlmann
Hi, I am using Tomcat (3.21), mod_jk and Apache 1.3 and I want to put my JSPs in the DocumentRoot directory of the Apache. E.g. I have a DocumentRoot at /var/www/ and I have put the JSP 'test.jsp' in there, but Apache (or Tomcat) does not found it (404)! With mod_jserv that was possible, but

Is Tomcat 3.3m2 available already?

2001-03-11 Thread Tagunov Anthony
Hello, evrybody! Sorry for disturbance.. Still has 3.3m2 been released? Is available as a tarball already? Or only from cvs? Thanx in advance, Tagunov Anthony - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: Servlets work, JSP pages don't - WHY?

2001-03-11 Thread William Brogden
Peter Adamek wrote: I installed Apache and Jakarta-Tomcat on my Linux box running RH 7. Basically, I created a new context in the document root directory and tried to write my own servlets and jsp pages. Well, servlets work OK, jsp pages don't Internal

Modified batch file (tomcat.bat)

2001-03-11 Thread Ratnakar Malla
Hi, This is the modified batch file of tomcat 3.2 .1 I was successfull, in modifying the tomcat batch file, so that tomcat uses "xerces.jar" instead of "xml.jar" . I would request the Apache development team to distribute this batch file instead of the "tomcat.bat" batch file supplied. This will

Modified batch file (tomcat.bat)

2001-03-11 Thread Ratnakar Malla
Hi, This is the modified batch file of tomcat 3.2 .1 I was successfull, in modifying the tomcat batch file, so that tomcat uses "xerces.jar" instead of "xml.jar" . I would request the Apache development team to distribute this batch file instead of the "tomcat.bat" batch file supplied. This will

RE: Servlets work, JSP pages don't - WHY?

2001-03-11 Thread Stefán F. Stefánsson
You don't have to put it in the classpath. Setting the JAVA_HOME system environment variable is enough (let it point to the directory where your JDK is installed, not the /bin or /lib subdirectories). Of course, if you rather want to put it in your classpath, that's also ok. Regards, Stefan.

REVERSE the AGING PROCESS 10 - 20 Years!

2001-03-11 Thread newbloom
HAVE YOU HEARD OF HUMAN GROWTH HORMONE (HGH)??? Released by your own pituitary gland, HGH starts declining in your 20s, even more in your 30s and 40s, eventually resulting in the shrinkage of major organs-plus all other symptoms related to old age. THIS CAN NOW BE REVERSED!!! IN THOUSANDS OF

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-11 Thread Craig R. McClanahan
See intermixed. On Sat, 10 Mar 2001, David Wall wrote: The same class loader is used to load all classes within a particular web application, but there is more to the story than that. See below. This is true for both JSP pages and for servlets, including those servlets loaded at

Re: Classpath/loader problems internal to tomcat 3.2.1

2001-03-11 Thread Craig R. McClanahan
On Sat, 10 Mar 2001, David Wall wrote: ACK, now that I've solved the JCE provider problem, the next one to rear itself is JNDI and JMS. With JMS, you use the JNDI InitialContext object that includes the class name of the provider of the JMS. Then, JNDI uses that to instantiate the

RE: Classpath/loader problems for JNDI/JMS with JSP

2001-03-11 Thread Craig R. McClanahan
On Sun, 11 Mar 2001, Andrew Gilbert wrote: Good thread. This is an extremely frustrating issue. As is apparent from this dicussion, other threads, and our own experience, it is not easy or pretty integrating the latest stable Tomcat (3.2.1) into a full J2EE environment. I am going to

RE: Modern complier is not available

2001-03-11 Thread Adam Fowler
Hi, If you installed Tomcat from one of Henri's RPM's then this will certainly be true as the RPM install process is Blackdown specific. It sets paths and classpaths for blackdown only if not set before install. I am currently working on a script to automatically detect the JDK installation

RE: Optimizing Tomcat

2001-03-11 Thread Adam Fowler
Hi all, Using the latest Sun JDK is also a great way to speed up Java built programs. I used to have Forte for Java, a huge java program, running on JDK 1.2 and its performance was severely lacking to say the least. I now have JDK 1.3 whose java runtime has Hotspot technology and it runs super

Re: executing a servlet.

2001-03-11 Thread JeremyRayYoo
lets say that I make a servelet and put it in this directory-C:\windows\desktop\TOMCAT\webapps\examples\servlets\TEST.html and the server.xml is configured like this: Context path="/examples" docBase="webapps/examples" crossContext="false"

Re: executing a servlet.

2001-03-11 Thread Milt Epstein
On Sun, 11 Mar 2001 [EMAIL PROTECTED] wrote: lets say that I make a servelet and put it in this directory-C:\windows\desktop\TOMCAT\webapps\examples\servlets\TEST.html and the server.xml is configured like this: Context path="/examples"

protecting files

2001-03-11 Thread Ryan
I have all my java files in various subdirectories under /home/jsp Ihave several virtual hosts so to organize them i put then in separate folders for example, /home/jsp/abc /home/jsp/def in my classpath I have included the directory/home/jsp/ I have made a 'package def;' for my domain

JDBC Realm Problems; Probably server.xml related...

2001-03-11 Thread eric chacon
I am trying to set up a JDBC Realm on tomcat 3.2.1. After modifying the server.xml file (shown below), tomcat will no longer start. I am quite new to tomcat and Linux, in genral. I have not modified any of the other xml files (the web.xml for my application, for instance). I have set up my

creating beans

2001-03-11 Thread teh j
hello i was wondering if anybody could help me out? i have written two classes (one is a bean that is called by a jsp) with one calling the other to instantiate it. the calling class though does not seem to be able to recognise the class being called as it spits the error out at me when i try

SSL and US encryption law

2001-03-11 Thread Andrew B. Sudell
Jim Canniff writes: Does anyone know what the current law is regarding exporting products with SSL? We're building an application that will be deployed in Taiwan and in other non-US sites. I've read various things ranging from: can't export SSL at all to can only use 40 bit (56 if

Apache Jserv module with TOmcat

2001-03-11 Thread tomcat users
Hello I am trying to run the Apache JServ module with Tomcat,i have entered this url http://localhost:81/examples/servlet/HellowWorldExample but it gives error page not found. My Apache web server is runing at http://localhost:81 and helloworld example is runnning sucessfully,using the

Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Milt Epstein
If you remember, I and at least one other person were trying to set tomcat up so that a URL of the form http://my.domain.com/blah would invoke a specific servlet in the "blah" context. We were having trouble doing this, and the closest we could come was using

Re: Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Kenneth Westelinck
Hi, If you want to know exactly how the ApJServMount directive is used you should take a look at the documentation included with JServ (at java.apache.org). greets, Kenneth Westelinck From: Milt Epstein Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Servlet via URL of the

Re: Apache Jserv module with TOmcat

2001-03-11 Thread Ratnakar Malla
hi, Well JServ, is an old extension of tomcat. you need to get mod_jk module . u can get it , from the same place as u downloaded the tomcat files. If u are installing them, on windows, u can get the dll and instructions at this site: www.geocities.com/donmalla/ATS/apache-tomcat-install.html

Attention TUG members and all developers and administrators...

2001-03-11 Thread Adam Fowler
Dear Tomcat user group members (and the rest of you Tomcats out there), I will soon be writing a book for Sam's publishing entitled "Tomcat developers guide". This book will cover how to program JSP pages and Servlets and how to deploy them on a system running Tomcat. It will cover Tomcat from

Re: Apache Jserv module with TOmcat

2001-03-11 Thread tomcat users
Many thanks for replying. We have downloaded mod_jk module from the URL you mentioned and hav copied it to the modelues folder of apche root.But when we start Tomcat no file with name "mod_jk.conf-auto" is created in the folder Tomcat\Conf . Do we need to register this dll file? Waiting

Re: Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Milt Epstein
On Mon, 12 Mar 2001, Kenneth Westelinck wrote: Hi, If you want to know exactly how the ApJServMount directive is used you should take a look at the documentation included with JServ (at java.apache.org). Thanks for the pointer, but could you be more specific. I looked through virtually

RE: class loader separation of implementation and API in Tomcat

2001-03-11 Thread David Duddleston
Tomcat 4 hasa goodclassloader implementation and the webapp classloader is not polluted, like it is in Tomcat 3.x and many other servlet containers. -david -Original Message-From: Henning Blohm [mailto:[EMAIL PROTECTED]]Sent: Sunday, March 11, 2001 3:52 AMTo: [EMAIL

Re: Servlet via URL of the form http://my.domain.com/blah

2001-03-11 Thread Kenneth Westelinck
Milt, I suggest you download jserv (tar.gz archive) from: http://java.apache.org/jserv/dist/. There is a lot of documentation included. regards, Kenneth From: Milt Epstein [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Servlet via URL of the form

Form based auth. again...

2001-03-11 Thread Vladimir Grishchenko
Hi, Just wondering if it's possible to get built-in form based authentication to work without the user actually trying to access a protected resource? I want to have a login box on the first page that users can use to authenticate themselves at my web-site. As you can guess simply specifying

Classpath

2001-03-11 Thread Jeff Finley
I'm so bewildered here. I'm just now setting up Tomcat on a Win98 machine. Tomcat is working great for the examples that were sent but I cannot get it to recognize a java class that I built just to put in a jsp. The only thing referenced about the class is the class. I've put the class in the

ODP: JDBC Realm Problems; Probably server.xml related...

2001-03-11 Thread Herchel Wojciech
looks like jdbcrealm is not tip-top finished - it's malfunctioning all the time. my idea is that tomcat tries to tell you that a connetionName is missing - on the other hand docs say it's optional... anybody any ideas? vVolf -Oryginalna wiadomooe- Od: eric chacon [mailto:[EMAIL

ODP: j_security_check question

2001-03-11 Thread Herchel Wojciech
-Oryginalna wiadomooe- Od: Thomas Riemer [mailto:[EMAIL PROTECTED]] Most likely you are missing a JkMount statement. You need to tell your web server that /j_security_check exists. JkMount /j_security_check ajp12 where do i put that? mod_jk.conf? do i have to restart apache?