re: simple tomcat question

2002-09-25 Thread Ryan
here is the source to my page http://the45.dhs.org:8080/examples/jsp/test.jsp %@ page session=false % % String title = Hello, world!; % head title%= title %/title /head body bgcolor=white h1%= title %/h1 /body -ryan The Original X-tra Strength Non-Aspirin Caplets -- To unsubscribe, e-mail:

Re: simple tomcat question

2002-09-25 Thread Kwok Peng Tuck
Attributes have to be quoted. Somewhere in your error message there was also a something similar about a attribute not being quoted. Check out your previous post to see. Good luck with the rest of the page :) %@ page session=false % Ryan wrote: here is the source to my page

JDBC problem

2002-09-25 Thread Ryan
I just downloaded the latest mySQL JDBC driver and have placed the directory that the jar extracts into the CLASSPATH. I am trying to load the driver with this line: Class.forName(org.gjt.mm.mysql.Driver).newInstance(); All I have done is set the CLASSPATH and restart tomcat. Is there

AW: JDBC problem

2002-09-25 Thread Dominik Jednoralski
tomcat ignores the classpath setting. place the .jar file in $TOMCAT_HOME/webapps/root/web-inf/lib i hope that'll work dominik -Ursprüngliche Nachricht- Von: Ryan [mailto:[EMAIL PROTECTED]] Gesendet: Mittwoch, 25. September 2002 09:32 An: [EMAIL PROTECTED] Betreff: JDBC problem I

AW: Copious Connectors Conundrum

2002-09-25 Thread Ralph Einfeldt
mod_jserv (deprecated) mod_proxy (no loadbalancing) - This is a quite old apache module that isn't intended as a connector but as a proxy (It forwards incoming request to an IP/Port and sends the response to the requesting client). I haven't tried to use mod_proxy but I

Re: SSL security contraint for just the login page.

2002-09-25 Thread Martin Jacobson
HAVENS,PETER (HP-Cupertino,ex3) wrote: I am using form based authentication on my Tomcat 4.0.4 server and I am trying to figure out how to set up a security constraint that would apply only to the login page. My global web.xml has a security constraint that points to a login.jsp page as the

Re: JDBC problem

2002-09-25 Thread Ryan
Thank you, this worked! However, now, the next line of code gives me problems: Connection C = DriverManager.getConnection(jdbc:mysql://localhost/tob, user, pass); Gives me the error : javax.servlet.ServletException: Invalid authorization specification: Access denied for user: '[EMAIL PROTECTED]'

Re: Tomcat 4.0.2, Apache 1.3.24, mod_jk, OpenBSD 3.1 - erratic behaviour

2002-09-25 Thread MTimpe
Hi, I have the same problem (problem 2) on Windows NT. I am using Tomcat 4.0.3, Apache 1.3.26, mod_jk. Tomcat standalone is working fine. I can work with my application. After an idle time (but smaller than the defined Timeouts) I get the same message as you got. After clicking reload in the

VAJ Test Environment servlet-mapping

2002-09-25 Thread Kristoffer Larsson
Hello! I have installed VisualAge for Java 4.0 and Apache Tomcat Test Environment 3.2.3 and have a question regarding this setup. How can I define a servlet-mapping for my servlets? I have this servlet se.openmind.trapp.go.GOEjInloggad which now can be reached through

Re: JDBC problem

2002-09-25 Thread Martin Jacobson
Ryan wrote: Thank you, this worked! However, now, the next line of code gives me problems: Connection C = DriverManager.getConnection(jdbc:mysql://localhost/tob, user, pass); Gives me the error : javax.servlet.ServletException: Invalid authorization specification: Access denied for

webapp shutdown

2002-09-25 Thread RP C987342
My webapp needs to know when Tomcat shuts down in order to do some cleanup. How can I do this? For startup, I am using the following tag in my web.xml load-on-startup1/load-on-startup Is this the correct method? Or is there a way to register startup/shutdown classes with Tomcat?

RE: webapp shutdown

2002-09-25 Thread Nicholas Orr
You could have a servlet that is called StartUp_ShutDown use load-on-startup1/load-on-startup to start it and everything that needs to be done on start up put in the init() method, and then when tomcat is shutdown it will call the destroy() method. One suggestion, probably others. Nicholas Orr

RE: webapp shutdown

2002-09-25 Thread Heligon Sandra
The servlet2.3 specification introduces the HttpServletContext listener class. When tomcat is shutdown, I think that the contextDestroyed() method of this class will be called. Sandra -Original Message- From: Nicholas Orr [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 10:41 To:

Tomcat4.1.12 on windows and JDK1.3 problems

2002-09-25 Thread Domagoj Jugovic
Tomcat 4.0.3 works fine in the same enviroment (win98 + IBM JDK1.3). But Tomcat 4.1.10 and Tomcat 4.1.12 are complaining about : java.util.logging.* and I downloaded the version for jdk1.2+ which doesn't have logging, mybe this is an overlook, OK. The I find out how to put exactly the same

Re: JDBC problem

2002-09-25 Thread Ryan
great, thanx couldn't quite get the grants changed right, so I found that 127.0.0.1 worked fine. -gratzie ryan - Original Message - From: Martin Jacobson [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 1:34 AM Subject: Re: JDBC problem

Re: Which Tomcat version for production environment ?

2002-09-25 Thread Simon M Pascoe
Thanks to Glenn Nielsen, John Turner and Jon Wingfield for their input on this one - I've decided to stick with the 4.04 release for production right now, but I'll be looking to test 4.1.x for later use (in addition to upgrading my Apache version). Regards, sImon Glenn Nielsen wrote:

how to WML in TOMCAT

2002-09-25 Thread MOHAMMAD AHMED
hello, I am a JSP developer and use Tomcat 4.0 for JSP development I have no problem in any configuration regarding Java and tomcat integration or else but the main problem I am facing is that ,How can I run Wml applications on Tomcat, I mean where to place WML files from where

RE: mod_jk.conf Listener

2002-09-25 Thread Turner, John
Yes. Check the source code for the ApacheConfig class, then just write your own. The best place depends on the need. I would think the best place for an SSL Listener would be in the Host element, as different Hosts have different certificates. I'm sure others on the list would be interested

RE: Oracle JDBC Drivers on Tomcat

2002-09-25 Thread Miguel Angel Mulero Martinez
Zip and Jar are the same format. Simply rename .zip to .jar and use it. Tomcat ignores .zip. -Mensaje original- De: hari hari [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 25 de septiembre de 2002 0:13 Para: [EMAIL PROTECTED] Asunto: Re: Oracle JDBC Drivers on Tomcat hi there,

Re: Tomcat 4.0.2, Apache 1.3.24, mod_jk, OpenBSD 3.1 - erraticbehaviour

2002-09-25 Thread Milt Epstein
On Wed, 25 Sep 2002, danox wrote: I have set up tomcat 4.0.2 to run with apache 1.3.24 on an OpenBSD platform. I used mod_jk to provide the connection, which I managed to compile from source on OpenBSD. I am having 2 problems, believe if I resolved the first it would help me someways to

Re: Tomcat Security Problem Help (using mod_jk)

2002-09-25 Thread Milt Epstein
On Wed, 25 Sep 2002, Ramilio D wrote: Hi Everyone, I read in the buqraq posting that I could fix the source code exposure vulnerablilty in tomcat by modifying the JkMount directive. I took a quick look at some documentation but I couldn't figure out how to allow apache serve servlets yet

Starting TOMCAT without opening new DOS promt

2002-09-25 Thread RAJESH KANNAN
Hi all, We would like to start the TOMCAT server without opening a new DOS prompt. How should we do this? With Regards K.RajeshKannan _ MSN Photos is the easiest way to share and print your photos:

Re: AW: Copious Connectors Conundrum

2002-09-25 Thread Marc
Hi! Can I use Coyote Jk 2 connector, with mod_jk.so, for connecting apache with tomcat? (using ajp13 protocol), or I must use an Ajp13Connector? Thanxs!! Marc Ralph Einfeldt wrote: mod_jserv (deprecated) mod_proxy (no loadbalancing) - This is a quite old apache module that isn't

RE: webapp shutdown

2002-09-25 Thread Shapira, Yoav
Hi, Create a listener that implements javax.servlet.ServletContextListener. Its contextInitialized() and contextDestroyed() methods will be called, once each, on server startup and shutdown respectively. This is better than a startup/shutdown servlet because the container is free to destroy and

Starting TOMCAT without opening new DOS promt

2002-09-25 Thread RAJESH KANNAN
Hi all, We would like to start the TOMCAT server without opening a new DOS prompt. How should we do this? Thanks in anticipation. With Regards K.RajeshKannan _ MSN Photos is the easiest way to share and print your photos:

simplest Servlet-jdbc not working

2002-09-25 Thread hari hari
hi, i having simplest of Servlet program (DBServlet.java) which is trying to connecting to my ORCL DB. my Application and DB Server are sit on different machines. I having my JDBC Drivers (in ZIP format) on my App Server installed with CLASSPATH. when I trying to run i getting below errors:

something changed between 3.3 4.1

2002-09-25 Thread Grégory Luguet
Hello all, I have been using Tomcat 3.3.1 (installed from a rpm but I don't want to use it any more) for my J2EE apps, but want to update it for the 4.1.10 version now. I downloaded the tgz file from tomcat ftp site, but at launching of my EJB Server, I get a ClassNotFoundException :

[OT] no activity this morning

2002-09-25 Thread Tim Funk
I apologize for writing this. Please do not respond. I have gotten no jakarta related mail all morning and am checking if it is broken with respect to my mail subsystem. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Apache 2 with Tomcat 4.* on Solaris 8

2002-09-25 Thread Hauck, Joe
Hello all, Is anyone using Apache2 with Tomcat 4 on Solaris 8? If so, what connector are you using (mod_jk, mod_jk2, mod_webapp)? I have tried to build both mod_jk and mod_jk2 from source with no luck. Any help would be greatly appreciated. Joe. -- To unsubscribe, e-mail: mailto:[EMAIL

Re: OT: Help wanted

2002-09-25 Thread Eugene Gluzberg
I would use tomcat over weblogic anytime. Just out of curiosity, what hosting provider do you use to host your tomcat? Eugene Bill Blackmon wrote: I've hired a host for a Tomcat/Struts/MySQL site that I've developed under Win2000, my common dev. environment. I'm a Java /DB application

Simplest Servlet-JDBC not working

2002-09-25 Thread hari hari
hi my many freinds, i having simplest of Servlet program (DBServlet.java) which is trying to connecting to my ORCL DB. my Application and DB Server are sit on different machines. I having my JDBC Drivers (in ZIP format) on my App Server installed with CLASSPATH. when I trying to run i

RE: Copious Connectors Conundrum

2002-09-25 Thread John Moore
Jeff, Am using mod_jk w/ kernel 2.4.9-34smp, apache 1.3.26 and jboss 2.4.6/Tomcat 4.0.3 (combined continer). Two servers both run apache and jboss/tomcat with balancing between them. It also has a h/w load balancer in front of apache. Live since March under low load (~20K/day) and very

simplest Servlet-JDBC not working

2002-09-25 Thread hari hari
hi, i having simplest of Servlet program (DBServlet.java) which is trying to connecting to my ORCL DB. my Application and DB Server are sit on different machines. I having my JDBC Drivers (in ZIP format) on my App Server installed with CLASSPATH. when I trying to run i getting below errors:

simplest Servlet-JDBC not working

2002-09-25 Thread hari hari
hi, i having simplest of Servlet program (DBServlet.java) which is trying to connecting to my ORCL DB. my Application and DB Server are sit on different machines. I having my JDBC Drivers (in ZIP format) on my App Server installed with CLASSPATH. when I trying to run i getting below errors:

Re: JSP source code exposure in Tomcat 4.x

2002-09-25 Thread Carrie Salazar
3.2 Workaround: There are at least two ways to protect from this vulnerability. A. Tomcat in tandem with HTTP server front-end: If you are using front-end HTTP server you can filter all requests with the pattern */servlet/org.apache.catalina.servlets.DefaultServlet* b. If you are using

Problem shutting down tomcat

2002-09-25 Thread Rafael Angarita
I just installed tomcat3.3.1 compiling the sources (to increase the ThreadPool size to 2000) , but there's a problem shutting down the java process (using tomcat.sh stop), an exception is thrown and the process keeps alive (I have to force to finish with shutdown.sh -force or sending

Re: simplest Servlet-jdbc not working

2002-09-25 Thread Jacob Kjome
Hello hari, Are you trying to run this on the command line or something? That is the only reason I can think of for it trying to run main. Jake Wednesday, September 25, 2002, 11:30:48 AM, you wrote: hh hi, hh i having simplest of Servlet program (DBServlet.java) which is trying to hh

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Carlos
Do you mean at boot-up? -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: Starting TOMCAT without opening new DOS promt Hi all, We would like to start the TOMCAT server without opening a new

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Donie Kelly
Catalina run You could also run it as a service if running under NT/2000 so that you don't see the dos box at all. See docs. Donie -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: 25 September 2002 15:31 To: [EMAIL PROTECTED] Subject: Starting TOMCAT without

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Jacob Kjome
Hello RAJESH, Install Catalina Service: %CATALINA_HOME%\bin\tomcat.exe -install Apache-Catalina %JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path=%CATALINA_HOME%\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar -Dcatalina.home=%CATALINA_HOME% %CATALINA_OPTS% -Xrs -start

Setting Tag Attribute Value

2002-09-25 Thread Sundar Chakravarthy
Hi, I am on Tomcat 4.0.x , jdk1.4,win2K. When I try to set a tag attribute value using a jsp script varaible like below , inc= %= path %/jsp/dd/inc/ the value of path shows up as null . Why ? Thanks -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Vivek Chopra
I take it you are trying to start it from the command line, and you are on Tomcat 4.x. Try the TOMCAT_HOME_DIR/bin/catalina run command- this will start it in the current DOS command shell. In case you want tomcat server to run everytime you start up your PC, you may want to install it as a (NT)

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Jim Urban
Instead of running startup.bat execute: catalina.bat run Jim Urban - [EMAIL PROTECTED] Park City Solutions Inc. Clinical Connectivity Suite Product Manager Suite 295 500 Park Blvd. Itasca, IL 60143 Voice: (630) 250-3045 x106 Fax: (630) 250-3046 CONFIDENTIALITY NOTICE This message and any

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Turner, John
Run it as a service. Check the docs and archives, this has been covered many times. John -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:32 AM To: [EMAIL PROTECTED] Subject: Starting TOMCAT without opening new DOS promt

[OT] Sys-admin book pointers (was: RE: ? java.net.BindException: Address already in use)

2002-09-25 Thread Turner, John
There are all sorts of books out there. I would recommend Essential System Administration from O'Reilly (I think it is in the 3rd or 4th edition by now, mine is pretty old). It isn't specific to a particular OS. Other than that, I would say the Red Hat Linux Bible is pretty good (ISBN:

RE: Tomcat 4.0 - SSL DOES NOT WORK!

2002-09-25 Thread Turner, John
Or post a HOWTO for the archives. John -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:37 AM To: Tomcat Users List Subject: RE: Tomcat 4.0 - SSL DOES NOT WORK! Now, to pay back everyone for all that help, you should answer

RE: Copious Connectors Conundrum

2002-09-25 Thread Turner, John
Ralph already posted an excellent overview. I would add that in my opinion, mod_jk is the most suitable for production. Also, regarding your questions about binaries, the answer is no. You'll have to build from source, or check my Connector Collection at http://www.johnturner.com/howto John

RE: AW: Copious Connectors Conundrum

2002-09-25 Thread Turner, John
JK2 requires mod_jk2.so. I think the protocol designation is AJP14 instead of AJP13, though I could be wrong. John -Original Message- From: Marc [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 9:51 AM To: Tomcat Users List Subject: Re: AW: Copious Connectors

RE: Tomcat Security Problem Help (using mod_jk)

2002-09-25 Thread Rossen Raykov
Do not mount /servlet/* but only the servlets that you application is really using. Regards, Rossen Raykov -Original Message- From: Ramilio D [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:30 AM To: [EMAIL PROTECTED] Subject: Tomcat Security Problem Help (using

RE: Apache 2 with Tomcat 4.* on Solaris 8

2002-09-25 Thread Turner, John
Others have built the connectors on Solaris 8. Do you have a GNU build environment setup? You'll need gcc, libtool, automake, make, and autoconf if you want to do it the old school way using ./configure. All tools are available at http://www.sunfreeware.com If you want to post more specific

Anybody using Jtds for connection handling..??

2002-09-25 Thread sathya
hi there anybody here using jtds for connection handling with ms sql server,, I would like to know how to give the properties file for it. Kindly let me know.. ---Sathya -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: Simplest Servlet-JDBC not working

2002-09-25 Thread Vivek Chopra
Hari, You don't typically try to execute a servlet directly.. it is invoked by the servlet engine when you browse over to the appropriate URL. The error you see is due to the fact that the JRE is looking for a main() method. Since this is a servlet, it doesnt have one! Please read the Tomcat

RE: Apache 2 with Tomcat 4.* on Solaris 8

2002-09-25 Thread Jacob Heric
We use Apache 2.0.39, Tomcat 4.0.3. on Solaris 8 w/ mod_webapp. -Original Message- From: Hauck, Joe [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 12:57 PM To: [EMAIL PROTECTED] Subject: Apache 2 with Tomcat 4.* on Solaris 8 Hello all, Is anyone using Apache2 with

Re: DBCP pool always increasing

2002-09-25 Thread Glenn Nielsen
Your config isn't configured to use DBCP. It is missing the following: parameter namefactory/name valueorg.apache.commons.dbcp.BasicDataSourceFactory/value /parameter That is why none of the DBCP features were working. Glenn Amitabh

Re: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread Mark O'Driscoll
Use Linux! (Sorry, couldn't resist that one) You can run it as a service? (net start ...) - Original Message - From: RAJESH KANNAN [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 25, 2002 3:31 PM Subject: Starting TOMCAT without opening new DOS promt Hi all, We

RE: Tomcat+IIS+https redirect

2002-09-25 Thread Ignacio J. Ortega
De: Hoffman, Matt [mailto:[EMAIL PROTECTED]] Enviado el: 25 de septiembre de 2002 5:18 found it. We recently implemented an SSL accelerator which acts as a frontend, transfering de-encrypted SSL communcation to IIS, which then transfers it to Tomcat. The only problem is when we use a It's

RE: Special consideration of invoking native methods in Tomcat?

2002-09-25 Thread Furlan Bojan ITWET2
There is no error message in logs. Error is handled nicely within the function itself, but it occurs only when executed within Tomcat. The native function I'm calling is a C function defined to access the legacy system by its provider. The system is not under maintenance and the internals of the

Re: Not enough space Error: on tomcat 4.0.4

2002-09-25 Thread BTTL
I am also facing the same problem on a Solaris 2.7. I have been using the tomcat 4.0.3 integrated with Apache through warp connector. I have allocated 384 max memory to tomcat out of 1GB total memory. In my case all the JSP pages are compiled since the site is in production and all the pages has

Re: Oracle JDBC Drivers on Tomcat

2002-09-25 Thread BTTL
Jar version. And driver jar must be copied in the TOMCAT_HOME/common/lib so that it can be shared between your web applications and tomcat internal classes. Raj

RE: Setting Tag Attribute Value

2002-09-25 Thread Turner, John
You'll need to post more information than that! Where is path set? How is it set? Why would it be anything but NULL? John -Original Message- From: Sundar Chakravarthy [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 1:23 PM To: Tomcat Users List Subject: Setting

How to change the user ID during session?

2002-09-25 Thread Frank Lawlor
Is there any way to change the logged in user during a session? I tried setting j_username in the session to the new user name but then Tomcat throws a security error. Is there some legal way to change the user during the session? Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread John Trollinger
tomcat install dir/bin/catalina run -Original Message- From: RAJESH KANNAN [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 10:31 AM To: [EMAIL PROTECTED] Subject: Starting TOMCAT without opening new DOS promt Hi all, We would like to start the TOMCAT server

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerability

2002-09-25 Thread Rossen Raykov
The servlets are not vulnerable since their code is under WEB-INF and is successfully protected from downloads. All other interpreted application stuff, outside of WEB-INF, like JSP are vulnerable since they can be downloaded as regular files but not be processed by the corresponding engine.

RE: Tomcat 4.0 - SSL DOES NOT WORK!

2002-09-25 Thread neal
Sure, Anyone who want to see my config file is welcome to. Just drop me an email. :) Neal -Original Message- From: micael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 10:37 PM To: Tomcat Users List Subject: RE: Tomcat 4.0 - SSL DOES NOT WORK! Now, to pay back everyone

Re: Apache 2 with Tomcat 4.* on Solaris 8

2002-09-25 Thread Hendryx-Parker, Calvin
I am currently using it on Solaris 9 and it wasn't easy to get things working, but I have managed to get all 3 to work and I have decided to go with mod_jk for now since it seems to handle the SSL info the best. I couldn't get the other 2 to pass the cert chain from apache2 to tomcat. Here

tomcat 4.1.12 and log4j

2002-09-25 Thread Dan Lipofsky
When doing development I usually have log4j appenders on the root category at the DEBUG level. This hasn't been a problem with earlier versions of tomcat but under 4.1.12 I get megabytes of debug messages generated by tomcat. A small sample is below. Does anyone know what is up or how to

Re: So what database and script language do you use?

2002-09-25 Thread Felipe Schnack
I'm using postgresql and I'm happy with it. Feature-wise, how firebird stands? Got FKs, SPs, subqueries, all of it? It's fast? I'm pretty curious about it :-) On Tue, 2002-09-24 at 19:35, Rick Fincher wrote: Hi Keith, I've been using Firebird and the JayBird JCA-JDBC driver and JSP.

password storage on Tomcat 4.1.12

2002-09-25 Thread Kemp Randy-W18971
Does anyone know which file and directory the password is stored on Tomcat 4.1.12 for the admin server? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: DBCP pool always increasing

2002-09-25 Thread Amitabh Dubey
I read in the archive, that it was not necessary to supply the factory parameter. Anyways, I tried it with the parameter also and it did not work. Amitabh -Original Message- From: Glenn Nielsen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 5:46 AM To: Tomcat Users List

Re: Simplest Servlet-JDBC not working

2002-09-25 Thread hari hari
hi friends, thanking you for sending email. I tried runnin my Servlet-JDBC from Browser also on which I getting following Error at my command console. 11:53:15,713 INFO [MainDeployer] Successfully completed deployment of

RE: [SECURITY] Apache Tomcat 4.x JSP source disclosurevulnerabili ty

2002-09-25 Thread Felipe Schnack
Anyway, using scriptlets (JSP) is a bad pratice... good code uses only taglibs. On Wed, 2002-09-25 at 10:57, Rossen Raykov wrote: The servlets are not vulnerable since their code is under WEB-INF and is successfully protected from downloads. All other interpreted application stuff, outside

Should tomcat use this much CPU?

2002-09-25 Thread Brandon Cruz
Should the CPU usage percentage in linux continue to increase as long as Tomcat is running. On a 1G processor with 512M Ram, it seems that the memory usage is 90MB and the CPU usage is around 32% for only one of the many java processes I see by using ps aux. Is this normal, does it mean there

RE: Simplest Servlet-JDBC not working

2002-09-25 Thread Turner, John
WHERE did you load them on your App server!? John -Original Message- From: hari hari [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 2:07 PM To: [EMAIL PROTECTED] Subject: Re: Simplest Servlet-JDBC not working hi friends, thanking you for sending email.

RE: Simplest Servlet-JDBC not working

2002-09-25 Thread hari hari
i putting them in /jdbc directory and then including that in CLASSPATH as: -- CLASSPATH=/usr/java130/lib/tools.jar:/jboss/bin/run.jar:/jboss/catalina/common/lib/servlet.jar:/jdbc/classes12.jar:/jdbc/classes111.jar

Tomcat and SSL accelerators

2002-09-25 Thread Kaltwasser, Jonathan LT (OP 09WN5B)
Howdy folks! Running TC 4.0.4, IIS 5.0 (groan, i know), Windows 2k Server, ISAPI redirect sending servlets and JSP's to TC, mainly for Computer Associate's CleverPath portal to function. What I'm wondering is if anyone has experience getting SSL accelerators like Redline's T|X 2250 to work with

RE: Simplest Servlet-JDBC not working

2002-09-25 Thread Turner, John
The best place would be CATALINA_HOME/common/lib. Tomcat ignores the CLASSPATH environment variable and assembles its own version of CLASSPATH (which may or may not be the same as the CLASSPATH environment variable) when catalina.sh is run. John -Original Message- From: hari hari

RE: Oracle JDBC Drivers on Tomcat

2002-09-25 Thread Miguel Angel Mulero Martinez
You need to rename the zip file to jar file. Servlets specification (so tomcat too) only accept .jar. Regards -Mensaje original- De: Tam, Michael [mailto:[EMAIL PROTECTED]] Enviado el: miércoles, 25 de septiembre de 2002 1:10 Para: 'Tomcat Users List' Asunto: RE: Oracle JDBC Drivers on

Two nics, two ips, one Tomcat instance

2002-09-25 Thread Januski, Ken
Hi, Can anyone point me in the right direction for instructions on setting up a server with 2 nics, 2 ips, and one Tomcat instance? I've spent the better part of two days reading and experimenting but still don't have an answer. I should add that there are no connectors, just Tomcat Standalone.

Connection Pooling -- Please Help a newbie

2002-09-25 Thread O'Dell, Stacy
I have the following setup: TC 4.0.4 Sybase JConnect 5.5 What EXACTLY do I need to do to get connection pooling working? What configuration, code, parameters, etc. I'm kinda lost here. Thanks, Stacy I believe everybody in the world should have guns. Citizens should have bazookas and

Connector not working in Tomcat 4.1.12

2002-09-25 Thread Mark Hansen
I've been working on a JMS Connector (for calling HTTPServlets via JMS) that was working under 4.0.3 and won't load under 4.1.12. Has org.apache.catalina.loader.StandardClassLoader changed? What classpath does this loader user when Tomcat boots up? I'm getting errors stating can't find classes

Re: Setting Tag Attribute Value

2002-09-25 Thread Jeff
OK, quick question... is %= path % ***itself*** null, or it simply being ---interpreted--- by Tomcat as null in the context of a tag attribute? An easy way to check is to stick a copy somewhere inside a html comment adjacent to the tag where you're using it so you can launch the page and see for

Re: Running multiple tomcat instances ?????

2002-09-25 Thread Ryszard Lach
On Mon, Sep 23, 2002 at 05:31:45PM +0200, Ralph Einfeldt wrote: We install different versions of tomcat like this: /usr/local/java/tomcat-4.0.3 /usr/local/java/tomcat-4.1.10 For each site we have something like this: /www/online/site Could you tell me how many instances do you have

RE: Running multiple tomcat instances ?????

2002-09-25 Thread Turner, John
I have 13, soon to be 16, instances of Tomcat 3.1 running with apache 1.3.26. The machine is a dual 1.2 GHz system with 1GB RAM and 72GB of RAID-5 disk at 10,000RPM. Average load for some fairly intensive processing and traffic is about 45%. John -Original Message- From: Ryszard

Automatic Client Login

2002-09-25 Thread Frank Lawlor
My application uses Form-based authentication. However, I would like to be able to have a request from a client automacally log in without their seeing the form by passing the userid/password with an HTTP request. I thought I saw one time some syntax like:

RE: Setting Tag Attribute Value

2002-09-25 Thread Tim Moore
Also, if we're talking about a JSP taglib tag (which it sounds like we are), something like this: inc= %= path %/jsp/dd/inc/ isn't allowed. In fact, I'm kind of surprised that compiles. When an attribute is a rtexprvalue, the *whole* thing needs to be a runtime expression. You can't mix a

RE: Automatic Client Login

2002-09-25 Thread Reynir Hübner
sometimes this may work (depending on the browser/server combination): http://username:[EMAIL PROTECTED] -Original Message- From: Frank Lawlor [mailto:[EMAIL PROTECTED]] Sent: 25. september 2002 19:47 To: 'Tomcat' Subject: Automatic Client Login My application uses Form-based

Shutting down tomcat 3.3.1

2002-09-25 Thread Rafael Angarita
Where is configured the port to shutdown tomcat 3.3.1? I'm getting this error: when trying to shutdown tomcat using # $TOMCAT_HOME/bin/tomcat.sh stop ... Root Exception: java.lang.IllegalArgumentException: port out of range:-1 java.lang.IllegalArgumentException: port out of

RE: Two nics, two ips, one Tomcat instance

2002-09-25 Thread Reynir Hübner
how about, server.xml ? tomcat doesn't really care about the Ip numbers it's replying to if you have virtual hosts setup. If you need it to responde to ip numbers you can use alias123.123.123.123/alias under host .. in tomcat_home/conf/server.xml hope it helps [EMAIL PROTECTED]

Making a webapp the document root, help?

2002-09-25 Thread Paul Tomsic
Is it possible, from Apache 1.3 and Tomcat 4.1.10 (tied together w/ mod_jk) to make a webapp the top-level (DocumentRoot) ?? For instance: /usr/local/tomcat/webapps/MYAPP I want MYAPP to be my document root and start serving JSPs immediately, only using Apache if a HTML file is requested and

RE: Setting Tag Attribute Value

2002-09-25 Thread Sundar Chakravarthy
Yes, you are right about rtexprvalue. In my case it was set to false instead of true. Thanks, On the other hand, if %= path % is non-null, check the tag's .tld file and make sure that the inc attribute has rtexprvaluetrue/rtexprvalue rtexprvalue tells the compiler whether it can save time

RE: Setting Tag Attribute Value

2002-09-25 Thread Sundar Chakravarthy
Tim, You are right too. I had to replace the whole thing. Thanks. -Original Message- From: Tim Moore [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 3:48 PM To: Tomcat Users List Subject: RE: Setting Tag Attribute Value Also, if we're talking about a JSP taglib tag

RE: Two nics, two ips, one Tomcat instance

2002-09-25 Thread Januski, Ken
Reynir, This sounds good but I'm not sure of the alias syntax. I've never heard of alias before but it sounds like it's just what I need. Is this more or less what you mean? Host name=inqTest debug=0 alias 123.xxx.xx.xx/ ... /Host Ken -Original Message- From: Reynir Hübner

DBTags problem with Tomcat 4.1.12?

2002-09-25 Thread Ryan Cornia
I'm trying to use DBTags from jakarta.apache.org with Tomcat 4.1.12. The tags worked correctly in Tomcat 4.0.4, but in 4.1.12, if the sql query does not return a result set, the actual sql query is printed to the JSP!!! Yikes! The query should not be printed to the JSP page under any

building connectors for 4.1.12

2002-09-25 Thread Thad Humphries
Why does building connectors have to be such a pain? It never seems to go smoothly for me... My current problem is the connectors from jakarta-tomcat-connectors-4.1.12-src.tar.gz, specifically mod_jk (I am running RedHat 6.2, Apache 2.0.40, and libtool 1.4.2) I run buildconf.sh: $

RE: Two nics, two ips, one Tomcat instance

2002-09-25 Thread Januski, Ken
Correction, I mean: Host name=inqTest debug=0 alias 123.xxx.xx.xx/Alias ... /Host -Original Message- From: Januski, Ken [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 25, 2002 4:12 PM To: Tomcat Users List Subject: RE: Two nics, two ips, one Tomcat instance Reynir,

Re: Making a webapp the document root, help?

2002-09-25 Thread Dan Lipofsky
The webapp called ROOT has the behavior you desire. Is it possible for you to just use that one? I am afraid I don't know how to make something else behave like ROOT or even if it is possible. - Dan Is it possible, from Apache 1.3 and Tomcat 4.1.10 (tied together w/ mod_jk) to make a webapp

Re: Making a webapp the document root, help?

2002-09-25 Thread Srinadh Karumuri
You can try defining an Alias in httpd.conf file of Apache. I am not sure your JSP code will work but you can try. Alias / /dir1/dir2/dir2/../webapps/MYAPP On the other hand you can have an 'index.html' filein the root directory and let users chose to get to your MYAPP. -Sri At 01:21 PM

Re: So what database and script language do you use?

2002-09-25 Thread Rick Fincher
Hi Felipe, This is kind of diverging from Tomcat, so further exchanges should probably be offline. I'm not sure what an FK is but I presume SP is stored procedure. Yes it has all of it, subqueries, views, domains, SPs, triggers, full transaction support, SQL92 conformance, etc. The JDBC

Re: password storage on Tomcat 4.1.12

2002-09-25 Thread Rick Fincher
Hi Randy, It depends on what type of security realm you set up. If you use memory realm it is in the file CATALINA-HOME/conf/tomcat-users.xml. If you use JDBC realm it is in whatever data table you specify in CATALINA-HOME/conf/server.xml. If you use JNDI realm its in your LDAP database.

RE: Starting TOMCAT without opening new DOS promt

2002-09-25 Thread BERNARDO ANTONIO BUFFA
It's a very simple task. Install linux. Be happy. Bernardo Hi all, We would like to start the TOMCAT server without opening a new DOS prompt. How should we do this? Thanks in anticipation. With Regards K.RajeshKannan

  1   2   >