Re: Driver class not found

2004-03-05 Thread Harry Mantheakis
> If you name it *.zip, it will definitely NOT be found in common/lib, > shared/lib, or anywhere else. Tomcat only loads *.jar files. Yes, you are right (!) I'm sorry, but my memory let me down there: it used to be that Oracle supplied its driver as a '.zip' file and you simply had to re-name the

Re: DataSource not found

2004-03-05 Thread Parsons Technical Services
Snotman, For an example. Search the archives for the thread "Servlets with JDBC connectivity". Look for the messages from me. Doug Parsons - Original Message - From: "Snotman" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, March 05, 2004 1:08 AM Subject

using a local dtd for web.xml's ?

2004-03-05 Thread Dirk Winter
Hi, we use Tomcat 5.0.16 under linux and all of our web.xml's are starting with a standard "public" dtd tag, i.e. "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd";> or "http://java.sun.com/dtd/web-app_2_3.dtd";> Everything worked fine until duesday: java.sun.com was unreachable and the s

Re: problem with tomcat shutdown on solaris

2004-03-05 Thread Adam Buglass
As I remember, tomcat (including this specific version) will often leave some sort of background thread running even when the shutdown script has been successfully executed. I don't know enough about tomcat to say what it is or why it is running. You could use the kill -TERM command to kill it off

Re: invoker servlet question

2004-03-05 Thread Reynir Þór Hübner
It works for me. To be able to answer you, it would be good to have error messages to build the answer on. this is the only thing that comes to mind. You have to have the full class name (with package name) to be able to call it, as : http://localhost/webapp/servlet/com.john.mclain.servletTest

tomcat wont start - log file error

2004-03-05 Thread Chris Daly
hi i installed a product called wasp server http://www.systinet.com/products/java_ws (looks like a neat tool for web services) on my local machine (win2kpro). problem is now my tomcat doesn't seem to start even when wasp is shut down. heres' what i'm getting from the log file - localhost-exam

Re: invoker servlet question

2004-03-05 Thread Harry Mantheakis
The Tomcat FAQ has a cautionary note about the invoker servlet: http://jakarta.apache.org/tomcat/faq/misc.html#evil > call http://localhost:8080/web_app_context/servlet/ That *should* work, assuming is the fully qualified name of the servlet you are trying to invoke. (And assuming everything el

How to Mass Virtual Hosting with individual webapps

2004-03-05 Thread Björn Voigt
Hello Everybody, I'm using apache2/tomcat4.1.29 and jk2 is it possible to configure virtual host so, that I can put all subdomains automatically through to a webapp with the same name without restarting of httpd and tomcat. I want tp deploy webapps with the tomcat manager without adding a new vir

Re: Loosing sessions when poping a window

2004-03-05 Thread Harry Mantheakis
> I'm still trying to figure out how Tomcat > sees a new window as a new session I do not think Tomcat sees anything more than what is sent to with the request. As I understand it, if the browser does not send a session cookie id, Tomcat will not be able to associate the request with any of its ex

RE: problem in configuring a Datasource in Tomcat 5.0

2004-03-05 Thread Marco Mistroni
Thanx a lot mike, it worked! For someone else who may experience same problem, other than the suggestion Given below, I downloaded mysql-connector-java-3.0.11-stable.jar Thanx again and regards marco -Original Message- From: Mike Curwen [mailto:[EMAIL PROTECTED] Sent: 04 M

RE: cgi-bin

2004-03-05 Thread Shapira, Yoav
Hi, >- Root Cause - >java.lang.ClassNotFoundException: org.apache.catalina.servlets.CGIServlet >I have servlets-cgi.jar in \jsp_files\WEB-INF\lib Did you try the setup recommended in the CGI HOWTO? http://jakarta.apache.org/tomcat/tomcat-5.0-doc/cgi-howto.html Yoav Shapira This e-m

RE: Hotswap servlet code in Tomcat 5?

2004-03-05 Thread Shapira, Yoav
Hi, >If the objects in the session is serialized to the disk and then >re-serialized when I re-deploy my servlet, what happens if the class in my >newer version of my servlet has >- added/removed methods/attributes in the class >- added/removed static variables in the class > >How will the hotswa

RE: problem with tomcat shutdown on solaris

2004-03-05 Thread Shapira, Yoav
Hi, >As I remember, tomcat (including this specific version) will often leave >some sort of background thread running even when the shutdown script has >been successfully executed. What are you talking about? You remember this from where? Tomcat doesn't leave any of its threads running when th

RE: tomcat wont start - log file error

2004-03-05 Thread Shapira, Yoav
Hi, Your logs don't indicate anything wrong. Are there any errors in them? ;) Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Chris Daly [mailto:[EMAIL PROTECTED] >Sent: Friday, March 05, 2004 5:20 AM >To: [EMAIL PROTECTED] >Subject: tomcat wont start - log file erro

Entity Declarations in JSP/XML

2004-03-05 Thread Lipov, Felix
Hi, I'm having problems when I try to declare an XML ENTITY, like   in an XML formatted JSP page. Tomcat 4 never gave problems, but Tomcat 5 always gives errors off of the following example: ]> http://java.sun.com/JSP/Page"; version="1.2">   Saying: org.apache.jasper.Jas

Re: tomcat monitor plugin for JMeter

2004-03-05 Thread Peter Lin
I prefer to have a general simple calculation for health, rather than multiple tiers of warnings. The other thought I had for warning is: (busy/max) > 75% peter lin Antonio_Fiol_Bonnín <[EMAIL PROTECTED]> wrote: Hi, I would establish two thresholds (possibly in %). Or maybe one threshold

RE: tomcat wont start - log file error

2004-03-05 Thread Chris Daly
hi the server is running and i'm getting the following message "The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings." the wasp server is set to port 6060 and is not running. the page

RE: use regexp in 'path' and 'docbase' of context?

2004-03-05 Thread David Boyer
Thanks very much for the clarification. Loading 1,800 contexts consumes about 200MB of RAM and takes several mintues. The contexts have no load-on-startup activity: the context definitions contain only the docbase and the path attributes, and the web.xml contains an empty web-app section. I'm

RE: use regexp in 'path' and 'docbase' of context?

2004-03-05 Thread Shapira, Yoav
Hi, >Loading 1,800 contexts consumes about 200MB of RAM and takes several >mintues. The contexts have no load-on-startup activity: the context >definitions contain only the docbase and the path attributes, and the >web.xml contains an empty web-app section. Yeah, I suppose it would add up ;) Al

RE: customized error page

2004-03-05 Thread Mathew
I am still trying to fix error page problem. This is my server.xml ... ... I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I created "error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able to se

RE: customized error page

2004-03-05 Thread Shapira, Yoav
Hi, >I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I created >"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able to >see 404.html if get 404 error, but I get page not found. Can you point your browser http://yourhost:yourport/myapp/error/404.html and see the

RE: customized error page

2004-03-05 Thread Mathew
I can see that page, if type the url on browser > Hi, > >>I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I > created >>"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able > to >>see 404.html if get 404 error, but I get page not found. > > Can you point your br

RE: customized error page

2004-03-05 Thread Mathew
I can see that page, if type the url on browser > Hi, > >>I have a directory "$TOMCAT_HOME/webbapps/myapp" in my system. I > created >>"error/404.html" in $TOMCAT_HOME/webbapps/myapp. But I am not able > to >>see 404.html if get 404 error, but I get page not found. > > Can you point your br

RE: customized error page

2004-03-05 Thread Shapira, Yoav
Hi, >I can see that page, if type the url on browser OK, so what you're saying is: - You have an error-page for 404s defined in web.xml - Tomcat starts up without errors, and you can see your custom error page by putting its URL directly in the browser - But when you get actual 404 errors in you

Classloader problems

2004-03-05 Thread Faine, Mark
Tomcat 4.1.27 on Solaris 8 I have two jar files I'd like to make available to all my web applications so I placed them in $TOMCAT_HOME/shared/lib however they are not being found. I also tried common/lib but it didn't work either. The error I'm getting is java.lang.IllegalStateException: java.

RE: MemoryRealm - multiple per user realms possible?

2004-03-05 Thread Jason Keltz
On Thu, 4 Mar 2004, Shapira, Yoav wrote: > >Is it possible for users to define a MemoryRealm (or other associated user > >authentication realm) in their own web.xml file with an associated > >"users.xml" file? Or must realms be configured in the server.xml file? > > Not in web.xml (because Realms

RE: Internationalization problem

2004-03-05 Thread Keith Hyland
Hi, Thanks for that, got native2ascii converting my property files as an Ant task now and all seems to be working well. Cheers, Keith Yansheng Lin wrote on 04/03/2004, 18:17: > native2ascii your properties file. works for me:). > > -Original Message- > From: Keith Hyland [mailto:

RE: Classloader problems

2004-03-05 Thread Shapira, Yoav
Hi, >I have two jar files I'd like to make available to all my web applications >so I placed them in $TOMCAT_HOME/shared/lib however they are not being >found. I also tried common/lib but it didn't work either. The error I'm >getting is java.lang.IllegalStateException: >java.lang.ClassNotFoun

ghost tomcat process after uploading new sources

2004-03-05 Thread Hans
Hi, I have a strange problem which I don't know how to describe accurately, but here goes: we have a tomcat server running and every time a lot of jsp pages running under are changed, it seems the process forks and starts an additional tomcat process. When this happens neither process seems abl

implementing P3P on tomcat without Apache

2004-03-05 Thread Brooks Harrelson
Has anyone implemented P3P on tomcat without an Apache front- end? I see pointers on how to do this using Apache's configuration files, but I can't find how to do it in Tomcat. Do I have to write a filter that adds the header to all the response streams? thanks, Bill ---

RE: tomcat wont start - log file error

2004-03-05 Thread Adam Buglass
Hi, I have had literally a minute to think about this so sorry if it's way off but my instinct says to try running WASP on Port 8080 (or maybe 80??) and running Tomcat at the same time. Quick Thought - I wonder if the order in which you start them up would help?? Of course if the WASP development

RE: ghost tomcat process after uploading new sources

2004-03-05 Thread Shapira, Yoav
Hi, Try turning off the fork parameter of the JSP server in conf/web.xml. It's true by default, and that's usually a good idea. I don't know the root cause for your problem. You have an interesting JDK version, by the way ;) Yoav Shapira Millennium ChemInformatics >-Original Message-

RE: using a local dtd for web.xml's ?

2004-03-05 Thread Yansheng Lin
I noticed that too. Sun's Web Site is really slow these few days. Any news on being hacked? And how it happened? Tomcat will automatically look for a cached copy of your dtd's on your local machine if it cannot find one online. That's why it's slower. One way to solve this is use a local copy a

Hardware/Software Prerequisites for Tomcat 4.1.30?

2004-03-05 Thread Rhino
Can anyone point me to documentation listing the hardware/software prerequisites for installing Tomcat 4.1.30 (binary)?   I'm having trouble installing the Tomcat 4.1.30 binary on Win98SE on an old Pentium 100 PC with 64 MB of memory. I suspect the PC is too old and slow to run Tomcat but I h

Re: tomcat monitor plugin for JMeter

2004-03-05 Thread Peter Lin
I've commited the first set of icons for the monitor, for those who are curious. please email me directly with comments. the icons start with "monitor" http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-jmeter/src/core/org/apache/jmeter/images/monitor-load-8.gif?rev=1.1 peter lin ---

[OT] Precompiled Webapps

2004-03-05 Thread Carl Walker
When I use the tag in Ant, I get an NPE if the page doesn't compile b/c of a JSP error. What I'd like to get is the error message pointing me to the coding problem and line number as I do when I hit a JSP and have it compiled on-the-fly. Is there anything besides verbose="99" that I can pass to

RE: tomcat wont start - log file error

2004-03-05 Thread Chris Daly
cheers i've tried running both at same time but no joy, running at different times, changing ports. when i run both at same time on same port interestingly i get a 404 on the tomcat.jsp, and the wasp page takes preference. probably have to try a reinstall on old tomcat (4.1.12- LE) chris A

Using tomcat to serve PDF files

2004-03-05 Thread Peter Guyatt
Hi, I was hoping that someone would be able to point me in the direction of an example for using tomcat to serve PDF files. Thanks Pete - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAI

RE: ghost tomcat process after uploading new sources

2004-03-05 Thread Hans
Hi Yoav, this seems to fix the problem. Strangely this parameter was not described in the default web.xml, but that may have a lot of causes, maybe even the same that caused that strange jdk version ;-). Thanks! Hans ps if anyone has experienced this problem and found a root problem (not necesa

RE: Classloader problems

2004-03-05 Thread Mark F
>What two jars are these? Is the class in the CNFE above in one of those >two jars? >Yoav Shapira They are specific to the applications that we build and the class in the CNFE is located in WEB-INF/classes Thanks, -Mark - To

anyone try Jrocket console

2004-03-05 Thread Peter Lin
I just came across JRocket's JVM console. Has anyone tried it? peter lin - Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.

Re: anyone try Jrocket console

2004-03-05 Thread Peter Lin
here's a link just in case http://edocs.bea.com/wljrockit/docs70/userguide/mancons.html Peter Lin <[EMAIL PROTECTED]> wrote: I just came across JRocket's JVM console. Has anyone tried it? peter lin - Do you Yahoo!? Yahoo! Search - Find what you’re looking

RE: Classloader problems

2004-03-05 Thread Shapira, Yoav
Hi, >They are specific to the applications that we build and the class in the >CNFE is located in WEB-INF/classes OK, so they're not like XML parsers or something else common that tomcat already includes? If the class in the CNFE is in WEB-INF/classes, which gets loaded before common/lib or sha

Re: Using tomcat to serve PDF files

2004-03-05 Thread rsequeira
Tomcat should be doing that out-of-the-box currently: See "Default MIME Type Mappings" under conf/web.xml. Also on a side note: http://www.onjava.com/pub/a/onjava/2003/06/18/dynamic_files.html Thanks, RS

RE: Using tomcat to serve PDF files

2004-03-05 Thread Shapira, Yoav
Hi, > I was hoping that someone would be able to point me in the direction >of an >example for using tomcat to serve PDF files. It's been discussed many times on the list in the past. There really isn't much to it: - Write the PDF via response.getOutputStream (not getWriter) because it's

RE: Using tomcat to serve PDF files

2004-03-05 Thread Peter Guyatt
Hi There, Thanks, I forgot to use get output stream. Cheers Pete -Original Message- From: Shapira, Yoav [mailto:[EMAIL PROTECTED] Sent: 05 March 2004 16:15 To: Tomcat Users List Subject: RE: Using tomcat to serve PDF files Hi, > I was hoping that someone would be able

Suggestion on where to put mysql driver

2004-03-05 Thread Simone - Dev
hello all, I'm installing a new server and I'd like know where should I put the mysql jdbc driver. In all my other server I installed them in the $JAVA_HOME/jre/lib/ext But I suppose this is not the best position for it. Where do u suggest to put it? Common Shared in each webapp WEB-INF/lib Tha

Re: Tomcat 4.1.30 and Apache 2.0.48

2004-03-05 Thread Swen Schillig
Thanks very much to the two of you. I got Charlies version to run with mod_jk and with the help of tutorial on the mentioned website mod_jk2 ! Since mod_jk seems to go out of service soon I'll stick with the mod_jk2. Ok, as I said guys, thanks very much, from here I hope I'll make my way on my

Re: Suggestion on where to put mysql driver

2004-03-05 Thread Alex
http://jakarta.apache.org/tomcat/tomcat-5.0-doc/jndi-datasource-examples-howto.html Depends on how you want it exposed and what you are doing with it. There's a plethora of documentation online. common/lib will be exposed to all your webapps. On Fri, 5 Mar 2004, Simone - Dev wrote: > Date: Fri

RE: Suggestion on where to put mysql driver

2004-03-05 Thread Wilson, Allen
I put my driver in the WEB-INF /lib since I only wanted that application to use the driver. If you want it to be available to the whole server you can use the others. -Original Message- From: Simone - Dev [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 10:33 AM To: 'Tomcat Users

R: Suggestion on where to put mysql driver

2004-03-05 Thread Simone - Dev
Thanx a lot. Simone - Simone Chiaretta www.piyosailing.com/S Any sufficiently advanced technology is indistinguishable from magic "Life is short, play hard" > -Messaggio originale- > Da: Alex [mailto:[EMAIL PROTECTED] > Inviato: venerdì 5 marzo 2004 17.26 > A: To

Re: Suggestion on where to put mysql driver

2004-03-05 Thread BAO RuiXian
Simone - Dev wrote: hello all, I'm installing a new server and I'd like know where should I put the mysql jdbc driver. In all my other server I installed them in the $JAVA_HOME/jre/lib/ext But I suppose this is not the best position for it. It should be in common/lib. Best Bao Where do u s

Connector processes

2004-03-05 Thread Jeff Poling
Is there a way, from within a servlet, to find out what the maximum number of processes has (maxProcessors attribute) and how many of them are in use? *Jeff Poling, Research and Development, CMHC Systems** ** For every difficult problem, there is * "A warp core breach

RE: Connector processes

2004-03-05 Thread Shapira, Yoav
Hi, >Is there a way, from within a servlet, to find out what the maximum >number of processes has (maxProcessors attribute) and how many of them are >in use? Yes. The code is of course tomcat-specific, not guaranteed to work in future tomcat versions, and the servlet must be running in a pri

mod_jk2 linking issues

2004-03-05 Thread William Rusch
Im trying to get mod_jk2 to compile and Im getting a problem during linking. It's basically not finding the crypt symbol/library. Im using gcc on tru64. I tried adding my ssl libraries but cant figure out a way to get it to link. Does anybody have any ideas, or should I go to the developers m

RE: Loosing sessions when poping a window

2004-03-05 Thread Mike Curwen
We had a cookie problem here at work, and it was all the same domain, and we couldn't figure it out.. until we recognized that foo.com and www.foo.com were two *different* domains, and therefore the browser would treat them differently. So we have apache set up like so: virtual host name: foo.co

Re: Classloader problems

2004-03-05 Thread Mark F
Shapira, Yoav mpi.com> writes: > > Hi, > > >They are specific to the applications that we build and the class in > the > >CNFE is located in WEB-INF/classes > > OK, so they're not like XML parsers or something else common that tomcat > already includes? > > If the class in the CNFE is in WEB-

Re: Entity Declarations in JSP/XML

2004-03-05 Thread Eric Suen
Hi, Long time ago, I ask the same question, and got no answer. and I found these in JavaServer Pages Specification 2.0: > JSP.6.2.4 JSP Document Validation > > A JSP Document with a DOCTYPE declaration must be validated > by the container in the translation phase. Validation errors > must b

RE: Classloader problems

2004-03-05 Thread Mathew
>U got it. > My TOMCAT start up with our errors. I checked in logs directory and made sure it. If I take out this from web.xml and restart webserver/tomcat I get typical 404 TOMCAT message if type a wrong url. 404 /error/404.html Hi, > >>I have two jar files I'd like to make availabl

Which Tomcat with which JDK version

2004-03-05 Thread Antonio Fiol Bonnín
Hi, I am sure this is a FAQ, but I've googled for it and I could not find any detailed info. Is there a table specifying Tomcat version <-> JDK version compatibility? In particular, I'm interested in running some Tomcat version with JDK 1.2.2. Is it possible? Which version of Tomcat? I had ne

RE: Which Tomcat with which JDK version

2004-03-05 Thread Shapira, Yoav
Hi, This is the sort of thing that's much faster to try yourself than ask the list, no? ;) Tomcat 5 requires JDK 1.3 or later, as noted in $CATALINA_HOME/RUNNING.txt. Tomcat 4 requires JDK 1.2 or later, as noted in $CATALINA_HOME/RUNNING.txt. Tomcat 3 I don't know, but I'd guess JDK 1.2 or late

Re: Which Tomcat with which JDK version

2004-03-05 Thread Antonio Fiol Bonnín
Hi Yoav, Thank you for answering *before* I posted. :-) It is indeed easy to know if you download all versions and read RUNNING.txt, but it is quite a tedious job if you don't *know* that all versions of every series are compatible with the same JDK versions. Thankfully, *you* do. ;-) Thank

Java/JSP sporadic "Illegal constant pool index" error

2004-03-05 Thread Mark Maigatter
Hi, We are seeing a sporadic error with a JSP page we have with Tomcat 4.0.6 sitting on JDK 1.4.2_03 on a Redhat Linux box. Sometimes after we restart Tomcat we get a page error. If we remove the webapps deployment directory and the corresponding compilation work/Standalone/localhost directori

Tomcat ports

2004-03-05 Thread Ralph Merrick
Can anyone tell me, how to configure tomcat to work with a port, less than 1024, port 80 to be exact. Thanks a ton - Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.

Apache as Service on Linux - Help

2004-03-05 Thread Apahce Tomact
Hi All, Is there any way to install Apache2 and Tomcat4 as service on Linux? If so, please advise me. Your help is greatly appreciated. Regards, Rama - Do you Yahoo!? Yahoo! Search - Find what you’re looking for faster.

Re: Tomcat ports

2004-03-05 Thread Reynir Þór Hübner
Hi, Try opening up /tomcat-home/conf/server.xml there you can set the connector to use what ever port you like. (try searching for 8080). hope it helps -reynir Ralph Merrick wrote: Can anyone tell me, how to configure tomcat to work with a port, less than 1024, port 80 to be exact. Thanks a t

RE: Tomcat ports

2004-03-05 Thread Subir Sengupta
You will also have to run Tomcat as root if you use port 80. -Original Message- From: Reynir Þór Hübner [mailto:[EMAIL PROTECTED] Sent: Friday, March 05, 2004 2:30 PM To: Tomcat Users List Subject: Re: Tomcat ports Hi, Try opening up /tomcat-home/conf/server.xml there you can set the co

Re: Apache as Service on Linux - Help

2004-03-05 Thread Mathew
As service in Linux ?? In NT U can do that > Hi All, > > > Is there any way to install Apache2 and Tomcat4 as service on Linux? If > so, please advise me. Your help is greatly appreciated. > > > > Regards, > Rama > > > > - > Do you Yahoo!? > Yahoo! Search - Find wha

RE: problem with tomcat shutdown on solaris

2004-03-05 Thread Daniel Savard
Le ven 05/03/2004 à 08:47, Shapira, Yoav a écrit : > >As I remember, tomcat (including this specific version) will often > leave > >some sort of background thread running even when the shutdown script > has > >been successfully executed. > > What are you talking about? You remember this from wh

server naming problem!(2)

2004-03-05 Thread FRANCOIS Dufour
hi to all my login apear but when i try to enter the chat room i get a 404 jsp sesion id not available only under cloaking redirect utility exemple: < non cloaking=1.2.3.4:8080> so under cloaking i get 404 under non cloaking everyting works fine but still i would prefer my domain name instead of

Net Integrator Virus Alert

2004-03-05 Thread Virus Scanner
WARNING: a virus (probably I-Worm.NetSky.c) or suspicious attachment was detected and removed from the following message from [EMAIL PROTECTED] to [EMAIL PROTECTED] Some of the content may still be readable. --- Begin Message --- is that your cd? --- End Message --- -

RE: NTLM and Post request

2004-03-05 Thread mganesh
Thanks piccoli. Yes you are right, this is the second step of authentication. After doing this step, IE returns NTLM authentication in its header. Im validating the credentials sent by the IE(Step 3 to Step 6). Successfully got the username and domain name. Then I will display a form to user in w