MySQL Driver Problem on Win 2k

2001-04-23 Thread Evdin Ursan
Hi All, Thank you for your answers until now. I have one more problem! I have MySQL 3.23.XXX installed on a Win 2000 system and I have TOMCAT 3.2.1 running with no problems! If I start TOMCAT SERVICE and I try to connect throw a JSP page, I got an error like org.gjt.mm.etc driver not found,

RE: MySQL Driver Problem on Win 2k

2001-04-23 Thread Warren Crossing
sorry cant chat!! but add the .jar file to the /tomcat/server/lib directory.. its the classpath classloader location. -Original Message- From: Evdin Ursan [mailto:[EMAIL PROTECTED]] Sent: Monday, 23 April 2001 4:44 PM To: [EMAIL PROTECTED] Subject: MySQL Driver Problem on Win 2k Hi

apache tomcat test environment in visual age

2001-04-23 Thread Patrick . Pierra
Hi I use Apache Tomcat Test Environment 3.1 in Visual Age 3.5. I dont know why but until now when I'm running a JSP (in my browser) i could seen the servlet code in a package (which call JSP default page compiler) in the the Visual Age Workspace (very useful for debbuging). But now I can' t

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 12:40:54PM -0700, Anne Dirkse wrote: Christoph -- You do need the trailing = after % Here's why: What you are trying to send from your HTML form is something like this: form enctype=multipart/form-data action=/servlets/servlet/Upload method=post input type=file

Apache+mod_ssl

2001-04-23 Thread subbu
Hai,How to use MOD_SSL with apache for win32 plat form.. subbu

SV: MySQL Driver Problem on Win 2k

2001-04-23 Thread Paul Kofon
Hi, I had the same problem when I had to run Tomcat as a Win2K service. In fact I posted the problem here but I didn't get any satisfactory answers until went to the docs. Now here's what you do: 1. Edit the wrapper.properties file found in the conf directory of your Tomcat installation. 2.

Timeout issue

2001-04-23 Thread Shravan Shashikant
Hi there, I have a problem with a certain servlet code of mine which takes a lot of time to execute.The problem is that since it takes a lot of time to execute,the browser times out the servlet after say 5 minutes.I heard somewhere that this can be remedied by using out.flush() for the output

Re: Timeout issue

2001-04-23 Thread Jon Barber
Hi Shravan, I've recently had the same situation and we solved it thus : Encapsulate the lengthy process in an object that implements Runnable, complete with an isFinished() call. Start a seperate thread to execute this and place the object in the httpsession. Send a page back to the user

looking for jakarta-serveletapi

2001-04-23 Thread Djazia Mecheri
Good morning, I'm installing jakarta-tomcat-3.2.1, and in the README file is writing: download and install the Serveletapi distribution I couldn't find it on the apache site. Could you, please, tell me where can I fond it? Thanks for your help. Djazia. Here is my e-mail: [EMAIL

Re: Timeout issue

2001-04-23 Thread Shravan Shashikant
Thanks Jon, Well,I guess thats pretty much the only option unless I get the Apache source code and make the changes and compile it!..I had a doubt over here.How do you handle multiple users accessing the same servlet of yours.I mean,at the same time if 2/more users access your servlet and

AW: file upload servlet

2001-04-23 Thread Ralph Einfeldt
Look at the source code in the browser. If you still see something like %= response ... % in it you guess is right, otherwise not. -Ursprüngliche Nachricht- Von: Christoph Kukulies [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 23. April 2001 09:05 An: [EMAIL PROTECTED] Betreff: Re:

Re: Timeout issue

2001-04-23 Thread Endre Stølsvik
On Mon, 23 Apr 2001, Shravan Shashikant wrote: | I had a doubt over here.How do you handle multiple users accessing the | same servlet of yours.I mean,at the same time if 2/more users access | your servlet and consider for a moment that,what one person requires | to be done from the servlet is

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 10:11:08AM +0200, Ralph Einfeldt wrote: Look at the source code in the browser. If you still see something like %= response ... % in it you guess is right, otherwise not. Yes, viewing the page source reveals: html form enctype=multipart/form-data action=%=

Re: Timeout issue

2001-04-23 Thread Jon Barber
On Monday 23 April 2001 09:05, Endre Stølsvik wrote: Basically different threads, differnt stacks.. Each thread is executing the function with it's own little memory-space, and thus each users have their own rendering of the servlet. But if you use class fields (variables) you'll get that

sealing violation

2001-04-23 Thread gcs
Hello, I am trying to deploy Tomcat 4.0b3 with Java 1.3. When I do startup.sh, I get: ERROR reading /usr/local/conf/server.xml At Line 75 /Server/Service/Engine/ name=Standalone defaultHost=localhost debug=0 Catalina.start: java.lang.SecurityException: sealing violation

Re: Apache mod_jk

2001-04-23 Thread Noel E. Lecaros
Hi, Anil The JkExtractSSL directive can be found in the file tomcat/conf/mod_jk.conf-auto which is a file that is automatically generated (or overwritten, if it already exists) by Tomcat upon startup. However, in the automatically generated file, the SSL directives are commented out, so you will

Re: Apache+mod_ssl

2001-04-23 Thread Noel E. Lecaros
Hi, Subbu Try this: http://jakarta.apache.org/tomcat/jakarta-tomcat/src/doc/tomcat-ssl-howto.html Regards, Noel Lecaros subbu wrote: Hai,How to use MOD_SSL with apache for win32 plat form.. subbu

Rãspuns: MySQL Driver Problem on Win 2k

2001-04-23 Thread Evdin Ursan
Hi, THANK YOU VERY MUCH! IT WORKED! EVDIN -Mesaj original- De la: Paul Kofon [mailto:[EMAIL PROTECTED]] Trimis: 23 aprilie 2001 10:50 Catre: [EMAIL PROTECTED] Subiect: SV: MySQL Driver Problem on Win 2k Hi, I had the same problem when I had to run Tomcat as a Win2K service. In

Re: looking for jakarta-serveletapi

2001-04-23 Thread Sebastian Hauer
Hi Djazia, check out: http://java.sun.com/products/servlet/download.html Sebastian Djazia Mecheri wrote: Good morning, I'm installing jakarta-tomcat-3.2.1, and in the README file is writing: download and install the Serveletapi distribution I couldn't find it on the apache site.

RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla
which JDK are you using ? Shuklix -Original Message- From: Georges Boutros [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 1:34 AM To: '[EMAIL PROTECTED]' Subject: RE: to many tomcat processes!! AAH!! does anyone know how can i force java to use green threads? thanks

Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
After having noticed that embedded jsp statements *could* work with my configuration where apache was serving http requests while tomcat was only doing the servlets I want to switch to tomcat as the sole webserver. At least here in a small intranet environment I think I could afford. Don't know

Re: Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 12:49:18PM +0200, Christoph Kukulies wrote: After having noticed that embedded jsp statements *could* work ^^^ Ack, that should read *couldn't have worked, of course. with my configuration where apache was serving

SSL detection

2001-04-23 Thread Sam Newman
I have Apache and Tomcat running together under SSL. I now want to create a page which only run under SSL. I want http and https to share the same documents however. My first idea is to simply have a tag handler, which detects the protocol, and if not SSL is simply redirects to a page explaning

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Sun, Apr 22, 2001 at 12:40:54PM -0700, Anne Dirkse wrote: Christoph -- You do need the trailing = after % Here's why: What you are trying to send from your HTML form is something like this: form enctype=multipart/form-data action=/servlets/servlet/Upload method=post input type=file

IIS and Tomcat on different machines

2001-04-23 Thread dirk . stefer
Hello, I have a serious problem about using the ISAPI redirector server plugin. We want to use a UNIX machine as Tomcat server and a Windows Machine with IIS as the WEB server. We installed the hole Tomcat distribution an the UNIX machine and getting results when accessing the WEB server on the

Re: to many tomcat processes!! AAH!!

2001-04-23 Thread Wolle
Hei, i use JDK 1.3 Saurabh Shukla wrote: which JDK are you using ? Shuklix -Original Message- From: Georges Boutros [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 18, 2001 1:34 AM To: '[EMAIL PROTECTED]' Subject: RE: to many tomcat processes!! AAH!! does anyone know how

Re: SSL detection

2001-04-23 Thread Wolle
Hello, you can check it with the methode request.isSecure,. that will give you true or false, make shure you use the ajp13 protocol with mod_jk. I don't know how to get the detailed information about the protocol and the key. Greetings, Wolle Sam Newman wrote: I have Apache and Tomcat running

Re: SSL detection

2001-04-23 Thread Sam Newman
Many thanks for that. I was looking under get methods in the index so I missed the isSecure one, d'oh! Now all I have to do is to try and get the encryption strength.I think I could do that with some client side java script though. sam - Original Message - From: Wolle [EMAIL

apxs:Break: Command failed with rc=16777215

2001-04-23 Thread K.P.Majoor
Hi there, After long searching, trying and investigating I have to say that I can not figure it out. My last hope is you guys (girls) and I wonder if someone knows the solution for this problem. I've seen many similar problems, but none like this exactly. My system: Debian Linux, testing

Re: apxs:Break: Command failed with rc=16777215

2001-04-23 Thread Benoit Jacquemont
I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the mod_jk.so from them: Just go to the directory where the objects files are located and try: gcc -shared -o mod_jk.so *.o You will get a mod_jk.so file. It worked for me

Re: apxs:Break: Command failed with rc=16777215

2001-04-23 Thread K.P.Majoor
It worked for me too! Thanks a lot, unbelievable simple solution for what I thought already was impossible. Thanks again, Klaas-Pieter Benoit Jacquemont wrote: I had the same problem some months ago. In fact, all the object files have been compiled, now you just need to build the

RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla
ok, open your java file, it is a shell script. (it should be in your JAVA_HOME/bin/ ) look for this line DEFAULT_THREADS_FLAG=native change native to green . ie now the DEFAULT_THREADS_FLAG=green this should do the job. let me know if it does't/does works. Regards, Shuklix -Original

RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Craig O'Brien
I do not know why you would want to do this other then for testing but -- change your startup script for tomcat to include the option java -classic and you will be using green threads. Be aware that it is now easier to create a deadlock situation. I believe that it would be a big mistake

RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Saurabh Shukla
Or you can do try thing also. open the file $Tomcat_home/bin/tomcat.sh in there look for the word native , if there is any such thing change it to green.(this is assuming that your tomcat start script specifies that it is using native threads) in the tomcat.sh file, the command line which

Re: apxs:Break: Command failed with rc=16777215

2001-04-23 Thread Benoit Jacquemont
Really happy that worked for you. But, anyway and just for information (;-) ), this solution comes directly from the mod_jk-howto.html file from the Jakarta project documentation... Yes it's written in small characters, but it is written... ;-) Extract from the mod_jk-howto.html: For Linux:

Re: apxs:Break: Command failed with rc=16777215

2001-04-23 Thread K.P.Majoor
I cannot believe what I have done to myself, cuz I remember this from the HOWTO very well. It seemed for me that this would be a problem in case the ../jk directory wasn't in the right place. But I admit (and right now feel that I waisted my time... ) when I read it now, I certainly see what is

Re: to many tomcat processes!! AAH!!

2001-04-23 Thread Wolle
Thanks for all the Information, i don't want to change it in green Threads, I would only knew what's goining on with these Threads , and know I have these Information, thanks a lot ! Greetings, Wolle Craig O'Brien wrote: I do not know why you would want to do this other then for testing but

database applets in Tomcat

2001-04-23 Thread Dana Marcusanu
This is a repost. I did not get any answer so far. I just want to specify that I am using mm.mysql driver (2.0.4). Can someone help me? I don't know why is looking for the database driver in the applet directory. Is it because of the security of applets? What rights should I give to the applet?

AW: file upload servlet

2001-04-23 Thread Ralph Einfeldt
I had a little typo in my mail, the enclosing quotation marks where missing for the attribute action. That's the corrected version: html form enctype=multipart/form-data action=%= response.encodeUrl(/servlets/servlet/Upload) % method=post input type=file name=FileData

RE: to many tomcat processes!! AAH!!

2001-04-23 Thread Johnathan Smith
Please get me off this list --- Saurabh Shukla [EMAIL PROTECTED] wrote: ok, open your java file, it is a shell script. (it should be in your JAVA_HOME/bin/ ) look for this line DEFAULT_THREADS_FLAG=native change native to green . ie now the DEFAULT_THREADS_FLAG=green this

Running non-HTTP GenericServlets

2001-04-23 Thread Matt Chamberlain
Hello, I have recently started using Tomcat, and it's working great for all of my HttpServlets. I've also written a non-HTTP servlet (extending GenericServlet), and I wasn't sure how to set this up in server.xml. Basically, I just need all requests on port 2147 to come through to my servlet,

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 07:56:40AM +0200, Ralph Einfeldt wrote: I had a little typo in my mail, the enclosing quotation marks where missing for the attribute action. That's the corrected version: html form enctype=multipart/form-data action=%=

Re: SSL detection

2001-04-23 Thread Jan Labanowski
The simpler way would be to put into httpd.conf the block Directory /my/directory Limit Order deny,allow Deny from all /Limit /Directory In the HTTP section (before the SSL section in the httpd.conf) and the block Directory /my/directory Limit Order deny,allow Allow from all

Re: starting tomcat as a service

2001-04-23 Thread Mark Mynsted
Sounds like it can't find a class definition. Check the classpath you assigned when you started the JVM as a service. [EMAIL PROTECTED] 4/23/2001 8:07:29 AM Hi, I'm using Tomcat 3.2 on Windows 2000. It works fine when I start and stop it manually (with the scripts in /bin, I mean), but it

Problem mapping servlets to /servlets/*

2001-04-23 Thread Diego Castillo
Hi, I am quite new to Tomcat and I have encountered problems in mapping servlets to specific URLs. Basically, I want my servlets to be activated when invoked through an URL that contains /servlets/* in addition to default /servlet/*. I have added the following to my %TOMCAT_HOME%\conf\web.xml:

Re: Changing DocumentRoot

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 01:01:04PM -, Kenneth Westelinck wrote: Hi, Adding this to server.xml should solve your problem: Context path=/ docBase=/usr/local/www/data/ Thanks. I got the idea, although it required some 'fine work': It conflicted with the Context path=

RE: sealing violation

2001-04-23 Thread CPC Livelink Admin
From what I have read on the list, this error is normally (99%) related to having mixed versions of the servlet jar's in your class path. Make sure that you are not sharing the servlet.jar from a previous version of the spec with the one distributed with tomcat. -Original Message-

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread CPC Livelink Admin
From the 3.2.1 server.xml !-- Non-standard invoker, for backward compat. ( /servlet/* ) You can modify the prefix that is matched by adjusting the prefix parameter below. Be sure your modified pattern starts and ends with a slash.

AW: file upload servlet

2001-04-23 Thread Ralph Einfeldt
Obviously your file is not processed by the JSP engine of tomcat. Sorry to ask that, what's the name of the file that contains your code ? As I'm not using tomcat I can't tell you which screws have to be driven to enable or disable jsp parsing on files with a given extension.

Re: Problem mapping servlets to /servlets/*

2001-04-23 Thread Milt Epstein
On Mon, 23 Apr 2001, Diego Castillo wrote: Hi, I am quite new to Tomcat and I have encountered problems in mapping servlets to specific URLs. Basically, I want my servlets to be activated when invoked through an URL that contains /servlets/* in addition to default /servlet/*. I have

Re: file upload servlet

2001-04-23 Thread Christoph Kukulies
On Mon, Apr 23, 2001 at 03:31:39PM +0200, Ralph Einfeldt wrote: Obviously your file is not processed by the JSP engine of tomcat. Sorry to ask that, what's the name of the file that contains your code ? upload.html Yikes! It should be upload.jsp, right? Oh oh. As I'm not using tomcat

Re: SSL detection

2001-04-23 Thread Sam Newman
I should of thought of that myself. The page will now actually behave differently depending on whether the page is accessed securely now - aint goal post moving a wonderful thing? I just hope I can finish the work before they decide they want it done in ASP instead. sam - Original

Authentication problem with servlets opening connection to other servlets

2001-04-23 Thread Edwards, Peter
I am using the MemoryRealm to protect my web application. I have a servlet that constructs a URL for another servlet in the same web application but I find that when it opens a connection to the other servlet, the authentication is not passed on and so it fails to open the stream. The only error

mod_jk and load balancing (quick question)

2001-04-23 Thread Matt Goss
Hi all, Does mod_jk support load balancing??? Also does it work with tomcat 3.1 3.2 ??? Thanks :) Matt begin:vcard n:Goss;Matt tel;fax:919-657-1501 tel;work:919-657-1432 x-mozilla-html:FALSE url:www.rtci.com org:RTCI;Custom Solutions adr:;;201 Shannon Oaks Circle;Cary;NC;27511;US version:2.1

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Lian, Xiaobu (Alice) (Xiaobu (Alice))
Hi Milt, You are right. This is exactly what I had experienced. Please see my previous posted message yesterday (4/22/01) mod_jk.conf configuration: Access servlets from apache server with url servername/servlets/servlet-class. I use mod_jk and play with mod_jk.conf-local for a while, but

Re: Problem under win98

2001-04-23 Thread Anne-Marie Ternes
Michael Burke wrote: When I start tmcat under win 98 it hangs after the linePooltcpConnection: StartingAjp12ConnectionHandler on 8007 , my internet connection is a dsl line in case that has anything to do with it. Any suggestions would be appreciated. That's the normal behavior. Tomcat

Re: Chris Nolte

2001-04-23 Thread Anne-Marie Ternes
Hi Michael, I'm sorry I just replied to a previous thread of yours and just saw now that yoiu already knew the answer. Please be aware that multiple postings are not very well seen in newsgroups - no offense intended. Anne-Marie Michael Burke wrote: Thanks Chris you were right tomcat was

Re: SSL detection

2001-04-23 Thread subbu
Hello SAM could U please tell me How to configure apache to support SSL (winnt) with love subbu. - Original Message - From: Sam Newman [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 23, 2001 3:59 AM Subject: SSL detection I have Apache and Tomcat running together under

Books on Tomcat

2001-04-23 Thread Will England
Hi! Does anyone know of any dead-tree books that document the Tomcat platform I've checked O'Reilly and Amazon, with no luck. I've found a few simple basic articles, but that is it. Thanks in advance! Will -- If Al Gore invented the Internet, then I invented spellcheck! Dan

newbie: how to make /admin use client cert

2001-04-23 Thread Riley,R
I've been trying to make the /admin webapp supplied with tomcat use my client cert. I've imported my certificate into the tomcat server host's .keystore using -keytool and specifying -trustcacerts. I'm not sure what to put in the web.xml and whether or not I have to put an entry into

Error on Tomcat

2001-04-23 Thread Dana Marcusanu
Hi I think I got the first problem, but now I still get this error: 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /examples ) Starting tomcat. Check logs/tomcat.log for error messages 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /admin ) 2001-04-23 10:33:48 -

Error on Tomcat

2001-04-23 Thread Dana Marcusanu
Hi I think I got the first problem, but now I still get this error: 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /examples ) Starting tomcat. Check logs/tomcat.log for error messages 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /admin ) 2001-04-23 10:33:48 -

Error on Tomcat

2001-04-23 Thread Dana Marcusanu
Hi I think I got the first problem, but now I still get this error: 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /examples ) Starting tomcat. Check logs/tomcat.log for error messages 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /admin ) 2001-04-23 10:33:48 -

SingleThreadModel

2001-04-23 Thread Thomas Roeblitz
Hi, I'm wondering how Tomcat (Versions 3.1 and 3.2) implements the SingleThreadModel. I was observing (v3.1) the case that parallel requests were executed concurrently for the very beginning, but later not. This behavior has been reported by some other people. Regarding version 3.2.1 I found a

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Lian, Xiaobu (Alice) (Xiaobu (Alice))
You are right, I did put /mytest under root context in server.xml. It works within tomcat, but not with apache. I just found it is hard to configure mod_jk.conf if I want to use root as the prefix of servlets. Any recommendations? Thanks! Alice -Original Message- From: Milt Epstein

simple question

2001-04-23 Thread T.J Brosnan
Hi, Im new to using to tomcat. My query is if I have a directory in TOMCAT_HOME/webapps/ called games can I have other directories in the games directory (for each different) and then the normal structure within these sub-directories, like will tomcat build a context for each of these

Re: Error on Tomcat

2001-04-23 Thread S Uma
Please unsubscribe me from this list Thanks, Uma Dana Marcusanu wrote: Hi I think I got the first problem, but now I still get this error: 2001-04-23 10:33:48 - ContextManager: Adding context Ctx( /examples ) Starting tomcat. Check logs/tomcat.log for error messages 2001-04-23 10:33:48 -

Re: SingleThreadModel

2001-04-23 Thread Milt Epstein
On Mon, 23 Apr 2001, Thomas Roeblitz wrote: Hi, I'm wondering how Tomcat (Versions 3.1 and 3.2) implements the SingleThreadModel. I was observing (v3.1) the case that parallel requests were executed concurrently for the very beginning, but later not. This behavior has been reported by some

Re: simple question

2001-04-23 Thread Martin Mauri
No, just the parent. I mean, the one you've listed in the server.xml file (docBase entry). regards. m- Hi, Im new to using to tomcat. My query is if I have a directory in TOMCAT_HOME/webapps/ called games can I have other directories in the games directory (for each different)

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Milt Epstein
On Mon, 23 Apr 2001, Lian, Xiaobu (Alice) (Xiaobu (Alice)) wrote: You are right, I did put /mytest under root context in server.xml. It works within tomcat, but not with apache. I just found it is hard to configure mod_jk.conf if I want to use root as the prefix of servlets. Any

Re: sealing violation

2001-04-23 Thread Boszormenyi GCS Laszlo
* CPC Livelink Admin [EMAIL PROTECTED] [010423 16:11]: From what I have read on the list, this error is normally (99%) related to having mixed versions of the servlet jar's in your class path. Make sure that you are not sharing the servlet.jar from a previous version of the spec with the

RE: Books on Tomcat

2001-04-23 Thread Bryant, William
Hmmm... No books that I know of, either already published or in progress. I'm not much of an author, but this sounds like an interesting project. Anyone up for writing a book on Tomcat? Maybe a not-for-profit, electronic-format-only guide to Tomcat that users could download. We could take

Re: Problem mapping servlets to /servlets/*

2001-04-23 Thread Martin Mauri
I agree with Milt. What you've gotta do is just put your servlets in WEB-INF/classes and nothing else. When you do your request the Tomcat will load the servlet that's in the URL. You are right, I did put /mytest under root context in server.xml. It works within tomcat, but not with apache.

A problem, please help

2001-04-23 Thread Pradeep Kumar
hello group, I am using tomcat 3.2.1 on win2k box with IIS. I am able to run all the example context. I have a context called at...and I am not able to run my servlet. I get the message resource not allowed on the browser (HTTP 405 error). The isapi log file says the following error.

URL to catch servlets

2001-04-23 Thread David DELGRANCHE
Hi all, I'm using Tomcat 3.2.1 with Apache on WinNT. I have defined in the server.xml conf file the directory I wanted to put my servlets. I named it workDirectory. All my servlets are in the subdirectory: workDirectory/web-inf/classes/ and I can access them by

Request; was: sealing violation

2001-04-23 Thread GCS
Maybe the jars are too different versions for me. That is why I ask some people to send the output of ls -l $CATALINA_HOME/jasper $CATALINA_HOME/server/lib Thanks, Laszlo

Accessing a packaged file

2001-04-23 Thread Jim Downing
Hi, I'm trying to get a servlet to access a text file that has been packaged with the servlet in a .war file. Is it possible to access the file without knowing it's absolute path when deployed, and if so how? jim

[Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer]

2001-04-23 Thread Neil Aggarwal
Hello: Has anyone seen this problem Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com Custom Internet Development -- Java, JSP, servlets, databases Hello: I am trying to set-up Tomcat 3.2.1 as a standalone servlet container for

[Fwd: Multiple IP based virtual hosts in Tomcat 4]

2001-04-23 Thread Neil Aggarwal
Hello: Has anyone seen this problem Thanks, Neil. -- Neil Aggarwal JAMM Consulting, Inc. -- (972) 612-6056, http://www.JAMMConsulting.com Custom Internet Development -- Java, JSP, servlets, databases Hello: I am trying to set-up multiple IP based virtual hosts in Tomcat 4.0

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Lian, Xiaobu (Alice) (Xiaobu (Alice))
Milt and Martin, Thanks very much for your response! I would like to put all servlet classes in WEB-INF directory by following the standard, but our people prefer to keep their original ~/servlets directory for servlet classes. So what I did was using Unix symbolic link to let

Re: URL to catch servlets

2001-04-23 Thread Pae Choi
No need to modify the TC. Just configure it in server.xml and httpd.conf. Pae Hi all, I'm using Tomcat 3.2.1 with Apache on WinNT. I have defined in the server.xml conf file the directory I wanted to put my servlets. I named it workDirectory. All my servlets are in the subdirectory:

RE: Accessing a packaged file

2001-04-23 Thread Filip Hanik
Thread.currentThread().getContextClassLoader().getResourceAsStream picks up files in your WEB-INF/classes or WEB-INF/lib inside of a jar or zip Filip ~ Namaste - I bow to the divine in you ~ Filip Hanik Software Architect [EMAIL PROTECTED] www.filip.net -Original Message- From: Jim

Re: Help with Windows IIS

2001-04-23 Thread time out
does the virtual directory in fact point to webapps/ROOT? also, i assume that you are using isapi_redirect.ddl... in which case you can put the JSPs in the web site directory and not have to use virtual directorieswhich may be confusing things too if not then that may be an error.

Re: Problem mapping servlets to /servlets/*

2001-04-23 Thread Xiaofeng Chen
It looks like many people have problems to configure their own servlet directory. I didn't see any documentation about this. It would be nice for a member of tomcat development team to add some hints for this topic in the tomcat user's guide: such as what files we have to modify and what lines we

RE: [Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer]

2001-04-23 Thread Danny Angus
Context path= should be Context path=/ for hits to the path root -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 5:17 PM To: tomcat users list Subject: [Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer] Hello: Has anyone

Re: simple question

2001-04-23 Thread time out
i have found that tomcat will serve JSPs below the docbase as well...when i use iis and isapi_redirect.dll At 12:24 04/23/2001 -0300, you wrote: No, just the parent. I mean, the one you've listed in the server.xml file (docBase entry). regards. m- Hi, Im new to using to tomcat. My query

RE: [Fwd: Multiple IP based virtual hosts in Tomcat 4]

2001-04-23 Thread Danny Angus
Context path= should probably be Context path=/ too -Original Message- From: Neil Aggarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 5:17 PM To: tomcat users list Subject: [Fwd: Multiple IP based virtual hosts in Tomcat 4] Hello: Has anyone seen this

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Milt Epstein
On Mon, 23 Apr 2001, Lian, Xiaobu (Alice) (Xiaobu (Alice)) wrote: Milt and Martin, Thanks very much for your response! I would like to put all servlet classes in WEB-INF directory by following the standard, but our people prefer to keep their original ~/servlets directory for servlet

RE: Books on Tomcat

2001-04-23 Thread David McCormick
I've been thinking about scratching that itch myself. Somewhere on this list I read that the Tomcat developers (whoever that might mean) were already working on one, but I haven't seen anything else since then. I think it would be interesting to do it like Bruce Eckel has done with his books

RE: Accessing a packaged file

2001-04-23 Thread Samson, Lyndon [IT]
Or more succinctly; this.getClass().getResourceAsStream(String); -Original Message- From: Filip Hanik [mailto:[EMAIL PROTECTED]] Sent: Monday, April 23, 2001 5:28 PM To: [EMAIL PROTECTED] Subject: RE: Accessing a packaged file

RE: Accessing a packaged file

2001-04-23 Thread Milt Epstein
On Mon, 23 Apr 2001, Filip Hanik wrote: Thread.currentThread().getContextClassLoader().getResourceAsStream picks up files in your WEB-INF/classes or WEB-INF/lib inside of a jar or zip [ ... ] I have seen this this construct mentioned a few times here:

JSP is not being server properly

2001-04-23 Thread Ferdinand Enario
Hello, I know I have read this in the forum before but I can't seem to find the exact message. Running on Linux Mandrake 7.1, Apache and Tomcat 3.2.1, mod_jk. When I access the examples like this http://localhost/examples/jsp/num/numguess.jsp, instead of showing the example numguess.jsp, I got

Tomcat 3.2.2 release schedule

2001-04-23 Thread Yair Zadik
Does anyone know when Tomcat 3.2.2 is scheduled for final release? Looking through the changes page, I believe that we've been running into a bug in Tomcat 3.1.1 (our production release) thats fixed in 3.2.2 but not 3.2.1. We're going into a QA cycle for our next release within the next couple

Re: Accessing HTML files in the apache root from servlets

2001-04-23 Thread Matthias Hupp
Thanks for the replies so far, but my problem remains... Is looking for input files in the system root really normal behaviour for a java program? Has anybody else had my problem? BTW, using ./inputfile.html doesn't work either. Greetings, Matthias

Re: [Fwd: Virtual host in Tomcat 3.2.1 thros NullPointer]

2001-04-23 Thread Neil Aggarwal
Danny: I change my server.xml to: Host name=xxx.xxx.xxx.xxx Context path=/ debug=1 docbase=webapps/host1 / /Host And I still get this error: Error: 500 Location: / Internal Servlet Error: java.lang.NullPointerException at

Re: SSL detection

2001-04-23 Thread Sam Newman
I'm not sure if this is different on winNT, as I did it on Linux, and so these instructions are really for that. All the packages mentioned here i think also come with win32 instructions. First, get Apache using mod_ssl. Easiest way to do this is to download openssl 0.9.6a (www.openssl.org), the

Re: [Fwd: Multiple IP based virtual hosts in Tomcat 4]

2001-04-23 Thread Neil Aggarwal
Danny: I change my tomcat 4 server.xml file to: Host name=xxx.xxx.xxx.xxx debug=1 appBase=webapps unpackWARs=true Context path=/ docBase=host1 /Context /Host Host name=yyy.yyy.yyy.yyy debug=1 appBase=webapps unpackWARs=true Context path=/ docBase=host2

RE: Accessing a packaged file

2001-04-23 Thread Filip Hanik
Or more succinctly; this.getClass().getResourceAsStream(String); nope, this is not a good approach at all! if the class this is loaded by the system class loaded, you are screwed, because the system classloader doesn't point to the WAR directories Filip ~ Namaste - I bow to the divine in

Re: Accessing a packaged file

2001-04-23 Thread Jim Downing
I've tried both ways, and I'm still missing something. Thread.currentThread().getContextClassLoader.getResources() doesn't list the resource required - do I have to list it in the web.xml descriptor? jim - Original Message - From: Samson, Lyndon [IT] [EMAIL PROTECTED] To: [EMAIL

RE: Problem mapping servlets to /servlets/*

2001-04-23 Thread Lian, Xiaobu (Alice) (Xiaobu (Alice))
Please see my previous email message below, which explained my problem. Thanks! Alice --- *** mod_jk.conf configuration: Access servlets from apache server *** *** with url servername/servlets/servlet-class

  1   2   3   >