JDBC problem

2002-09-24 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

Re: simple tomcat question

2002-09-24 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 >http://t

re: simple tomcat question

2002-09-24 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!"; %> <%= title %> <%= title %> -ryan "The Original X-tra Strength Non-Aspirin Caplets" -- To unsubscribe, e-mail: For add

RE: Tomcat log in linux

2002-09-24 Thread Anthony Kong
You can use tail -f on the catalina.log Regards, Anthony -Original Message- From: neal [mailto:[EMAIL PROTECTED]] Sent: Monday, August 26, 2002 2:46 PM To: Tomcat Users List Subject: Tomcat log in linux In Windows, when you run Tomcat, a DOS command line window pops up and you see r

mod_jk.conf Listener

2002-09-24 Thread Günter Kukies
Hi, is it possible to have a Listener to get SSL information into the mod_jk.conf file? For Example 'SSLEngine on' or any other SSL directive. What are the possible places for placing a Listener Element within server.xml? Günter Kukies

Re: Tomcat takes up too much memory

2002-09-24 Thread Josh G
Dude can you read? Perhaps you should try it before you start bagging people > >Each tomcat process you see in top is a thread, they share memory, so all > >together they use 62% of memory. -Josh -- And can you tell me doctor why I still can't get to sleep? And why the channel 7 chopper chills m

RE: Tomcat 4.0 - SSL DOES NOT WORK!

2002-09-24 Thread micael
Now, to pay back everyone for all that help, you should answer the next person that asks with all your coding. RIght? At 04:00 PM 9/24/2002 -0700, you wrote: >Alright, > >For anyone out there considering using SSL with Tomcat4 Standalone, I just >wanted to append this thread to let everyone know

Re: Tomcat takes up too much memory

2002-09-24 Thread micael
Yah, dang it! There you have 1,674% of memory being hogged by Tomcat. You guys have this figured to the T. Kidding aside, I bet you are beginning to think you might be making a mistake about what the 62% means? Micael At 11:49 AM 9/25/2002 +1000, you wrote: >Each tomcat process you see in t

RE: DBCP pool always increasing

2002-09-24 Thread Amitabh Dubey
This is what my final working server.xml file looks like url jdbc:microsoft:sqlserver://dnas07:1113;DatabaseName=NorthWind validationQuery maxIdle 3 maxActive 5 d

Classloader question in Tomcat 4.1.x

2002-09-24 Thread Wu Yiqun
Hello: I have some web application using commons-digester and common-dbcp. When I upgrade from tc 4.0->tc 4.1.12, I found there are some jar in common/lib and server/lib. From the Class Loader Howto, it is assumed following class search order: /WEB-INF/classes of your web application /W

Tomcat Security Problem Help (using mod_jk)

2002-09-24 Thread Ramilio D
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 disallow those containing the org.apache.c

Test

2002-09-24 Thread Wu Yiqun
Test

Tomcat 4.0.2, Apache 1.3.24, mod_jk, OpenBSD 3.1 <- erratic behaviour

2002-09-24 Thread danox
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 resolve the second. 1) mod_jk creates

Re: DBCP pool always increasing

2002-09-24 Thread Glenn Nielsen
In the config you posted you didn't have RemoveAbandoned configured, by default is is set to false. You also didn't set the maxActive, by default I believe it is unlimited. An example of your code which uses the JNDI named datasource would also be helpfull in debugging these type of problems. R

Re: simple tomcat question

2002-09-24 Thread danox
please post the jsp code. Ryan wrote: >I am currently using 4.1.10 and running it as a standalone on port 8080. It >can be seen here: >http://the45.dhs.org:8080 > >I am simply trying to make my own jsp pages in the default examples >directory. The jsp examples can be found here: >http://the45.d

Tomcat+IIS+https redirect

2002-09-24 Thread Hoffman, Matt
I am having a problem running Tomcat with IIS (using the isapi_redirect plugin). It is quite likely that I've missed some basic configuration option; however I've read through the relevant documentation and haven't found it. We recently implemented an SSL accelerator which acts as a frontend, tran

RE: DBCP pool always increasing

2002-09-24 Thread Amitabh Dubey
I used performance monitor to view the number of user connections to the database. Although i was closing the connection in my client code, the pool size / connections to the database were always increasing. Given that i was executing only one program at a time, i would expect that this number not

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

2002-09-24 Thread Alfonso Martinez
I use PostgreSQL. I needed transactions and foreign keys. To enable transactions in MySQL you have to use InnoDB (or Gemini I guess). I did not have much time to learn, so I better switched to PostgreSQL with good results. Jose Alfonso On Wed, Sep 25, 2002 at 09:17:05AM +0800, Atif Shahab wrot

RE: ? java.net.BindException: Address already in use

2002-09-24 Thread John Naldoza
Hi, I don't know who much this would be of help to you :) http://rute.sourceforge.net Cheers, John Clark > -Original Message- > From: Bill Blackmon [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 25, 2002 10:25 AM > To: Tomcat Users List > Subject: Re: ? java.net.BindExcept

Re: simple tomcat question

2002-09-24 Thread Kwok Peng Tuck
A code listing would be helpful. Ryan wrote: >I am currently using 4.1.10 and running it as a standalone on port 8080. It >can be seen here: >http://the45.dhs.org:8080 > >I am simply trying to make my own jsp pages in the default examples >directory. The jsp examples can be found here: >http://t

Re: ? java.net.BindException: Address already in use

2002-09-24 Thread Bill Blackmon
Thanks - I really appreciate it. Can you recommend a good Linux book to get me started on this? I'm obviously out of my element here and feel really stupid. - Original Message - From: "Turner, John" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Tuesday, September

Re: OT: Help wanted

2002-09-24 Thread Bill Blackmon
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 developer and this is the first app I've developed without having a sys admin or DBA etc, so I'm new to these aspects. I have no Linux or Unix experience, (tho

Re: OT: Help wanted

2002-09-24 Thread Bill Blackmon
Thanks for the note. It's not a full-time position. I just need someone to help me get a web app moved to my host and configured correctly. I'm a Java/DB developer and have written the app but I'm having issues with the configuration on and accessing the server as well as Tomcat/Struts issues. My

simple tomcat question

2002-09-24 Thread Ryan
I am currently using 4.1.10 and running it as a standalone on port 8080. It can be seen here: http://the45.dhs.org:8080 I am simply trying to make my own jsp pages in the default examples directory. The jsp examples can be found here: http://the45.dhs.org:8080/examples/jsp However, a very simple

Tomcat 4.1.x and HTTP/1.0 persistant connections.

2002-09-24 Thread Byrne Craig
Is there any way to disable persistant connections for HTTP/1.0 requests using the Coyote connector in Tomcat 4.1.x? I am having problems in that a third party utility is not correctly handling HTTP/1.0 requests using persistant connections. It sits there waiting 15 seconds for tomcat to drop

Re: Tomcat takes up too much memory

2002-09-24 Thread Kent Perrier
On Tue, Sep 24, 2002 at 09:46:43PM -0400, Kevin Conaway wrote: > Hi, > > I am attempting to run Tomcat 4.1.12 on an AMD 120 with 24mb of ram running > linux 2.4.18 and when i startup Tomcat it spawns about 27 child processes > each taking up about 62% memory (go figure how that works). Am i do

Re: Tomcat takes up too much memory

2002-09-24 Thread Josh G
Each tomcat process you see in top is a thread, they share memory, so all together they use 62% of memory. And yes, tomcat takes up a lot of memory. I definitely wouldn't try to run it on anything less than 64mb of ram. - Original Message - From: "Kevin Conaway" <[EMAIL PROTECTED]> To: <

Re: Tomcat does not work through iptables

2002-09-24 Thread Atif Shahab
This is not tomcat configuration problem, you need to set you iptables properly. However, if you've set apache and tomcat via a connector then apache should foward all the requests pertaining to jsp/servlets to tomcat. This forwarding is normally done internally so your iptables rules shouldn't

Tomcat takes up too much memory

2002-09-24 Thread Kevin Conaway
Hi, I am attempting to run Tomcat 4.1.12 on an AMD 120 with 24mb of ram running linux 2.4.18 and when i startup Tomcat it spawns about 27 child processes each taking up about 62% memory (go figure how that works). Am i doing something wrong or is my machine simply too slow to be running Tomca

Tomcat does not work through iptables

2002-09-24 Thread Michael Lam
I have apache 1.3.26 and Tomcat 3.3.1, tomcat works correctly within the internal network but does not work through the firewall when I access it from the outside. I am using iptables and i know the router config is ok because apache works correctly but tomcat does not when using ajp13 or listenin

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

2002-09-24 Thread Atif Shahab
I use mysql with perl and jsp. On Tue, 24 Sep 2002, Ray Madigan wrote: > I use PostgreSql found at www.postgresql.org. I think it depends on the os > you are hosting tomcat on. > > -Original Message- > From: bedetrob [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 1:19 P

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

2002-09-24 Thread Ray Madigan
I use PostgreSql found at www.postgresql.org. I think it depends on the os you are hosting tomcat on. -Original Message- From: bedetrob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 1:19 PM To: Tomcat Users List Subject: RE: So what database and script language do you use?

Session already invalidated HELP!

2002-09-24 Thread James Chuang
Hello: I'm currently running Tomcat 3.24 on Linux, and I have run into a vexing problem that occurs randomly, and I need some help. At least once a week, I get the following exception: java.lang.IllegalStateException: setAttribute: Session already invalidated java.lang.IllegalStateException: s

Re: DBCP pool always increasing

2002-09-24 Thread Glenn Nielsen
What do you mean by your pool is increasing in size? That the number of open connections to the db is increaing? What is the indicator that this is happening? The more specific you can be the better chance that someone can answer your question. Glenn Amitabh Dubey wrote: > Hello All, >I ma

Re: code separation with apache virtual hosts <-> tomcat hosts

2002-09-24 Thread Glenn Nielsen
There is a clear separation for the web applications themselves. There isn't when you allow the different virtual hosts to use the manager to deploy web applications. I would configure a different appBase for each Host, that way each host has a separate directory where their webapps are located

SSL security contraint for just the login page.

2002-09-24 Thread HAVENS,PETER (HP-Cupertino,ex3)
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 form-login-page. As I understand it, the gl

Copious Connectors Conundrum

2002-09-24 Thread Schnitzer, Jeff
Hi! I'm bewildered by the array of connector options. I'm trying to hook up a cluster of Tomcat 4.0.4 instances (running in JBoss) behind Apache 1.3, all running on Linux. I'm looking for a stable, production-quality option. It would be really really helpful to me and probably everyone else tr

Re: Oracle JDBC Drivers on Tomcat

2002-09-24 Thread Jacob Kjome
jar files are the .zip format. So, grab the .zip file and rename it to .jar, then put it in common/lib and you are good to go. Jake At 10:13 PM 9/24/2002 +, you wrote: >hi there, > >thanks for replying. Do we need ZIP version or JAR version of JDBC Drivers >on Tomcat...? > >thks. > >--HA

RE: Oracle JDBC Drivers on Tomcat

2002-09-24 Thread Tam, Michael
Oracle JDBC driver comes as ZIP and so you leave it as it is. Cheers, Michael -Original Message- From: hari hari [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 3:13 PM To: [EMAIL PROTECTED] Subject: Re: Oracle JDBC Drivers on Tomcat hi there, thanks for replying. Do we

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

2002-09-24 Thread Kent Perrier
On Tue, Sep 24, 2002 at 06:52:10PM -0400, Tim Moore wrote: > OK, thanks. (The BugTraq search engine wasn't working when I checked > there.) > > So it sounds pretty much like what I thought it was. I still don't > understand why Velocity wouldn't be vulnerable to this exploit. It sounds to me lik

RE: Tomcat 4.0 - SSL DOES NOT WORK!

2002-09-24 Thread neal
Alright, For anyone out there considering using SSL with Tomcat4 Standalone, I just wanted to append this thread to let everyone know that ... it DOES work afterall! :) Thanks to Ian and Martin for convincing me it is possible. It turns out that our configuration was right all along and my Sys

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

2002-09-24 Thread Tim Moore
OK, thanks. (The BugTraq search engine wasn't working when I checked there.) So it sounds pretty much like what I thought it was. I still don't understand why Velocity wouldn't be vulnerable to this exploit. -- Tim Moore / Blackboard Inc. / Software Engineer 1899 L Street, NW / 5th Floor / Wash

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

2002-09-24 Thread Rick Fincher
Hi Keith, I've been using Firebird and the JayBird JCA-JDBC driver and JSP. Firebird is open source and a complete SQL 92 DB. It was spawned from Borland's Interbase 6.0 when it went open source, so it's commercial quality. Interbase has been around for nearly 20 years as a commercial product,

allowLinking problem

2002-09-24 Thread Erick Todd
Sorry to be the pain in the butt that keeps complaining, (I really appreciate all the help, and work all have been doing for this) I can only get the allowLinking flag to work if I set the jasper2 development=false in the web.xml. Also, if I do this, it will always display an error the first tim

Re: Oracle JDBC Drivers on Tomcat

2002-09-24 Thread hari hari
hi there, thanks for replying. Do we need ZIP version or JAR version of JDBC Drivers on Tomcat...? thks. --HARI >From: [EMAIL PROTECTED] >Reply-To: "Tomcat Users List" <[EMAIL PROTECTED]> >To: Tomcat Users List <[EMAIL PROTECTED]> >Subject: Re: Oracle JDBC Drivers on Tomcat >Date: Tue, 24 Se

Re: Tomcat on os390 / USS

2002-09-24 Thread jjnfg
Hi Brown, How are you ? I am attempting to do the same thing. Did you managed to port Tomcat v4.1.10 to OMVS/USS under os390 ? If you did can you share your experience ? I am getting messages like : 2002-09-23 23:19:05 ContextConfig[] Parse error in default web.xml etc APACHE v2.0.40

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

2002-09-24 Thread Rossen Raykov
See the original posting on BugTrag for more details http://online.securityfocus.com/archive/1/292936/2002-09-21/2002-09-27/0 Regards, Rossen Raykov > -Original Message- > From: Tim Moore [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 5:34 PM > To: Tomcat Users List > S

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

2002-09-24 Thread Rossen Raykov
The problem is not connected directly to the JSPs or the jsp engine. It's the default servlet that has the problem. I didn't test it but I believe using this vulnerability one can get Velocity also. What he will find inside - depends only on the programmers/designers in both cases. Regards, Rosse

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

2002-09-24 Thread Tim Moore
I'm having a hard time finding many specifics about this exploit. It sounds like you're forcing the default servlet to serve up the source page as static content. Why isn't Velocity vulnerable in the same way? I'll buy that Velocity is faster than JSP, and certainly can be more concise and reada

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

2002-09-24 Thread Turner, John
Do us, or rather me, a favor, and take your arrogant, l33t rant somewhere else. Believe me, I'm already awake. John > -Original Message- > From: Jon Scott Stevens [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 5:26 PM > To: tomcat-dev; Tomcat Users List > Subject: Re: [

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

2002-09-24 Thread Jon Scott Stevens
on 2002/9/24 4:59 AM, "Remy Maucherat" <[EMAIL PROTECTED]> wrote: > A security vulnerability has been confirmed to exist in all Apache > Tomcat 4.x releases (including Tomcat 4.0.4 and Tomcat 4.1.10), which > allows to use a specially crafted URL to return the unprocessed source > of a JSP page,

RE: How can I maintain sessions between IIS and Tomcat?

2002-09-24 Thread Tim Moore
The Java VM and the ASP runtime have totally different memory spaces and object models. To be able to share sessions between them will require a lot of work. Essentially, you'll have to create your own equivalent to the session manager. Data put in the custom session will need to be stored in s

Apache/mod_jk half works (JSP/Servlets do not).

2002-09-24 Thread Nathan Coraor
Hi all, I've recently gotten mod_jk integrated with Apache and it allows me to browse actual webpages via http://server/examples, etc. However, trying to run an actual JSP or Servlet causes the browser to hang indefinitely. By that, I mean it continually attempts to load the page but never mana

Re: Not enough space Error: on tomcat 4.0.4

2002-09-24 Thread Kent Perrier
On Tue, Sep 24, 2002 at 03:35:38PM -0400, Raj Mettai wrote: > I am running tomcat 4.0.4 on solaris8. I am getting Not enough space error after few >days of running when I try to compile a jsp page, every thing works fine once I >restart the tomcat. > > Is it the heap Issue ? I am running tomc

Re: Oracle JDBC Drivers on Tomcat

2002-09-24 Thread achana
No don't bother, its fine. I use Ora9i and the rest of the stuff, didn't unzip. (In case u have download something : U can't use a tar ball though !) "Tam, Michael" wrote: > > It works fine for me as in .zip extension. > > Cheers, > Michael > > -Original Message- > From: hari hari [mai

RE: Oracle JDBC Drivers on Tomcat

2002-09-24 Thread Tam, Michael
It works fine for me as in .zip extension. Cheers, Michael -Original Message- From: hari hari [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 24, 2002 1:25 PM To: [EMAIL PROTECTED] Subject: Oracle JDBC Drivers on Tomcat hi every1, i using java servlets to connect to my Oracle db.

How can I maintain sessions between IIS and Tomcat?

2002-09-24 Thread Luca Ventura
Sorry for having replied this mail but I have set a more detailed subject for it, hoping someone can help me in solving the problem described below. Thanks everybody for the patience. Luca Hello everybod

Tomcat and IIS

2002-09-24 Thread Luca Ventura
Hello everybody! I have installed Tomcat as plug-in of Internet Information Server (IIS) to support JSP/Servlet, using the ISAPI filter. So I can support ASP pages thanks to IIS and Servlets/JSP-pages thanks to Tomcat. All works well if I don't use sessions. In fact if I create an user-session (

Oracle JDBC Drivers on Tomcat

2002-09-24 Thread hari hari
hi every1, i using java servlets to connect to my Oracle db. I get the jdbc-drivers and installed into app server and included in my classpath. these drivers are in zip format - do I need to extract them or will they do fine just with zip? --HARI _

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

2002-09-24 Thread bedetrob
I use Apache/Tomcat/jsp/javabeans/taglibs/MySql/DBConnectionBroker/JDBC > -Original Message- > From: Keith Pemberton [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 4:39 AM > To: [EMAIL PROTECTED] > Subject: So what database and script language do you use? > > > Hi everyo

RE: Missing mod_jk sources

2002-09-24 Thread Chris Back
Thanks, I would have never started looking down that tree. -Chris On Tue, 2002-09-24 at 16:01, Turner, John wrote: > > http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.5/src/ > > John > > > -Original Message- > > From: Chris Back [mailto:[EMAIL PROTECTED]] > >

Tomcat 4.1.12

2002-09-24 Thread Matt Raible
I'm attempting to upgrade from 4.0.4/4.1.10 to 4.1.12 today and I'm seeing the following warning in my logs for the first time: WARNING: Exception getting SSL attributes javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated at com.sun.net.ssl.internal.ssl.SSLSessionImpl.getPeer

RE: Missing mod_jk sources

2002-09-24 Thread Turner, John
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.5/src/ John > -Original Message- > From: Chris Back [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 4:00 PM > To: [EMAIL PROTECTED] > Subject: Missing mod_jk sources > > > Can't seem to find them on any of

Missing mod_jk sources

2002-09-24 Thread Chris Back
Can't seem to find them on any of the mirror sites, just empty directories. Somebody point me in the right direction. -Chris -- Chris Back Bitpipe, Inc. 186 Lincoln St., Boston 617.224.4258 -- To unsubscribe, e-mail: For additional commands, e-mail:

Not enough space Error: on tomcat 4.0.4

2002-09-24 Thread Raj Mettai
I am running tomcat 4.0.4 on solaris8. I am getting Not enough space error after few days of running when I try to compile a jsp page, every thing works fine once I restart the tomcat. Is it the heap Issue ? I am running tomcat with default values any thoughts ? Here is the error from

Re: getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
Just to answer this for anyone else interested. Yes, the tomcatAuthentication in the older ajp connector worked as well. All good, thanks for the input. -Dennis On Tue, 2002-09-24 at 13:09, Dennis Muhlestein wrote: > I'm still using the older ajp connector because I haven't had time to > upgrade

Where to set the allowLinking flag in 4.1.12?

2002-09-24 Thread Roland Glenn McIntosh
I'm please that 4.1.12 has the ability to follow symlinks, I just don't know where to set this flag. I grepped for "allowLinking" in my conf directory and found no commented examples of where this might go. Please advise. -rgm -- To unsubscribe, e-mail: For addi

RE: mod_jk problems, no conf/auto/mod_jk.conf

2002-09-24 Thread Turner, John
You only get a mod_jk.conf file if you have the appropriate Listener elements in server.xml. John > -Original Message- > From: Nathan Coraor [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 3:18 PM > To: [EMAIL PROTECTED] > Subject: mod_jk problems, no conf/auto/mod_jk.co

mod_jk problems, no conf/auto/mod_jk.conf

2002-09-24 Thread Nathan Coraor
I might just be missing something obvious, and forgive me if this has been brought up before (I checked the list archives and didn't see anything). Per http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/jk.html, conf/auto/mod_jk.conf should be written automatically when Tomcat starts, but I d

Re: getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
I'm still using the older ajp connector because I haven't had time to upgrade the apache side of things. Does the same apply to that connector? I'll fiddle with it. Thanks for the input. Dennis My xml: On Tue, 2002-09-24 at 13:00, Jacob Kjome wrote: > Hello Dennis, > > Did you add tomcatA

Re: getRemoteUser()

2002-09-24 Thread Jacob Kjome
Hello Dennis, Did you add tomcatAuthentication="false" to the Coyote ajp3 connector? here's what mine looks like: Jake Tuesday, September 24, 2002, 1:59:14 PM, you wrote: DM> I was under the impression that getRemoteUser() was fixed as of 4.1.11. DM> I've upgraded to 4.1.12 but s

getRemoteUser()

2002-09-24 Thread Dennis Muhlestein
I was under the impression that getRemoteUser() was fixed as of 4.1.11. I've upgraded to 4.1.12 but still no luck. It always returns null. We use apache/ssl with mod_jk. Any suggestions? Thanks Dennis -- To unsubscribe, e-mail: For additional commands, e-mail:

RE: Error 503 The request resource (Servlet jsp is currently unavailable) is not currently available

2002-09-24 Thread Turner, John
As far as I know, Forte only supports up to 4.0.3. I had similar problems trying to use 4.0.4 with Forte, and after a couple of postings on the Netbeans user mailing list (Netbeans is the core of Forte), was told that it was a "tomcat integration bug". I don't know that it is/was fixed, as usin

Error 503 The request resource (Servlet jsp is currently unavailable) is not currently available

2002-09-24 Thread Michael Nicholson
I'm trying to setup a tomcat 4.0.5 instance on a win2000 machine and integrate it with sunOne studios/forte (which ever you want to call it). However, anytime I try to navigate to a jsp, I get this error. Static resources are ok. Servlets give me this error (or at least the one I tried did):

Re: OT: Help wanted

2002-09-24 Thread achana
Bill Blackmon wrote: > > Needed a Tomcat/MySql/Linux admin/developer in NYC to help with deploying a > weapp to host. > If you are local and can spare a few hours, I'm willing to pay up to $75 hr. > to get a site up and running > on a hosts Linux machine. Brooklyn here again., Oh yes, I run Linux

Re: OT: Help wanted

2002-09-24 Thread achana
Bill Blackmon wrote: > > Needed a Tomcat/MySql/Linux admin/developer in NYC to help with deploying a > weapp to host. > If you are local and can spare a few hours, I'm willing to pay up to $75 hr. > to get a site up and running > on a hosts Linux machine. I am in Brooklyn, F Line. Never mind the

RE: tomcat 4.1.12

2002-09-24 Thread Rossen Raykov
In my original announcement I mentioned two other ways to protect Tomcat from this vulnerability: A. Tomcat in tandem with HTTP server front-end: a. If you are using front-end HTTP server you can filter all requests with the pattern */servlet/org.apache.catalina.servlets.D

Re: tomcat 4.1.12

2002-09-24 Thread Tim Funk
Explicit declarations of servlets in web.xml and explicit mappings to the declared servlets. If things need to be dynamically invoked - measures need to be put in place to prevent abuse. Currently - the /servlet/ patch only blocks certain servlets but can still let others be dynamically invoke

Re: JBoss-2.4.8_Tomcat-4.0.4 not working by default

2002-09-24 Thread Manoj Kithany
Hi Rajesh, I was also facing same problem for over 2 weeks or so - finally figured out (after taking some help from this list and JOHN) Anyways, when you install JBoss 3.0+ there is no DEFAULT WEB application and no DEFAULT CONTEXT set up (READ JBOSS FAQ...its' mentioned there). What you have

RE: tomcat 4.1.12

2002-09-24 Thread John Trollinger
Map the servlet to a know name using smimc //smimc > -Original Message- > From: William Lee [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 24, 2002 1:07 PM > To: Tomcat Users List > Subject: Re: tomcat 4.1.12 > > > Tim Funk wrote: > > There was a security flaw in

DBCP pool always increasing

2002-09-24 Thread Amitabh Dubey
Hello All, I managed to use DBCP with SQL Server and am able to get connections from the pool. After i execute my query, i close the connection also, but it is going back to my pool and i have verified that. However, what I do not understand is this : Why does the pool go on increasing and neve

Re: Re[2]: Cannot load JDBC driver class 'null'

2002-09-24 Thread John Walstra
I'm actually on the full version of 4.1.12 now, and still the same problem. For now I'm not using a pool, which makes my pages load like a dog. I'm thinking I'm going to have to try some other type of pooling if DBCP won't work for me or try something beside Tomcat. On Tuesday 24 September 20

problem starting apache server

2002-09-24 Thread Ravishankar, CS
> Hello, > > I am having a problem with starting apache web server. > > when i try to start apache i get an error. which says > > '' error intializing protocol wrapper" > > [12/092002 22:48:31:928] (ERROR) wrapper: cannot open > ./conf/jserv.properties f

RE: Retrieving ServletContext Objects via PageContext

2002-09-24 Thread Jason Johnston
Ok, then I must be having another problem. I'm running into a null pointer exception that I was assuming was the Tag's inability to retrieve a handle on the pool. Here's my code: /* * testTag.java * * Created on September 23, 2002, 3:21 PM */ package boa; import sun.misc.*; import javax.s

Re: tomcat 4.1.12

2002-09-24 Thread William Lee
Tim Funk wrote: > There was a security flaw in 4.1.11 and earlier that so that /servlet/* > could be used for bad things. The flaw was fixed in the invoker servlet > for the "obvious" issues but it still leaves the door open for people to > do other bad things if people aren't careful. > > In

RE: Retrieving ServletContext Objects via PageContext

2002-09-24 Thread jon wingfield
The following will work: pageContext.getServletContext().getAttribute("dbPool"); -Original Message- From: Jason Johnston [mailto:[EMAIL PROTECTED]] Sent: 24 September 2002 17:25 To: <"Tomcat Users List" Subject: Retrieving ServletContext Objects via PageContext This may be a stupid que

RE: ? java.net.BindException: Address already in use

2002-09-24 Thread Turner, John
>From a command prompt: man ps (manual pages for the ps command, ps = process status) man netstat (manual pages for the netstat command, netstat = network status, including ports) Also: ps -ef --cols=300 |grep java |more (tells you all tomcat processes running) If tomcat is shutdown, but java

OT: Help wanted

2002-09-24 Thread Bill Blackmon
Needed a Tomcat/MySql/Linux admin/developer in NYC to help with deploying a weapp to host. If you are local and can spare a few hours, I'm willing to pay up to $75 hr. to get a site up and running on a hosts Linux machine. Thanks, Bill 917-363-6766 -- To unsubscribe, e-mail:

Re: tomcat 4.1.12

2002-09-24 Thread Tim Funk
There was a security flaw in 4.1.11 and earlier that so that /servlet/* could be used for bad things. The flaw was fixed in the invoker servlet for the "obvious" issues but it still leaves the door open for people to do other bad things if people aren't careful. In $CATALINA_HOME/conf/web.xml

Re: ? java.net.BindException: Address already in use

2002-09-24 Thread Bill Blackmon
The host machine is Linux, don't know which flavor. I have no idea how how to: Look if there are tomcat processes runing. Look at the state of the ports. Look who owns the ports. from the SSH connection I have. Thanks, Bill - Original Message - From: "Ralph Einfeldt" <[EMAIL

Retrieving ServletContext Objects via PageContext

2002-09-24 Thread Jason Johnston
This may be a stupid question but I'm just starting to use custom tags and I'm running into a strange problem. I'm using a DBCP for a mySQL database and my setup servlet places a handle to the pool in the ServletContext via the setAttribute() under the name "dbPool." Now other servlets can re

tomcat 4.1.12

2002-09-24 Thread Dennis Muhlestein
After using 4.1.10 for a bit, I see a few issues. I think, ok we can wait for a few fixes. Things worked ok though. So now I download 4.1.12. Shouldn't the server.xml file from 4.1.10 be pretty much compatible with 4.1.12? I tried that to start with but can't get the web app to recognize ser

AW: ? java.net.BindException: Address already in use

2002-09-24 Thread Ralph Einfeldt
There are this options: - at least one thread isn't dying so there is still a tomcat instance running - the time between the end of tomcat and the restart was to short. So that the soccets have not closed completly. - you have a port conflict. Look if there are tomcat processes runing. Look

code separation with apache virtual hosts <-> tomcat hosts

2002-09-24 Thread Chris Price
Hi; I have a system running Apache 1.3.26, mod_jk and Tomcat 4.1.12. Apache has a number of name-based virtual hosts confgured, of which 2 are setup to route jsp and servlet requests to a ajp13 connector (called 'ajp13'). ajp13 is setup to use a single tomcat instance r

RE: ? java.net.BindException: Address already in use

2002-09-24 Thread Vincent . Gaboriau
Tomcat try to use a port already used by another application. You must verify that a tomcat instance doesn't run. You can see the opened port with an utility like netstat. > -Message d'origine- > De : Bill Blackmon [mailto:[EMAIL PROTECTED]] > Envoyé : mardi 24 septembre 2002 17:44 > À :

Re: JBoss-2.4.8_Tomcat-4.0.4 not working by default

2002-09-24 Thread Jacob Kjome
Hello Rajeshkumar.R, Try the JBoss 3.0 + Tomcat 4.0.4 combo. It is pretty easy to set up and I don't think it even involves settting environment variables. Jake Tuesday, September 24, 2002, 10:07:46 PM, you wrote: RR> Hello sir, RR> I had down loaded JBoss-2.4.8_Tomcat-4.0.4.zip(jb

JBoss-2.4.8_Tomcat-4.0.4 not working by default

2002-09-24 Thread Rajeshkumar.R
Hello sir, I had down loaded JBoss-2.4.8_Tomcat-4.0.4.zip(jboss - catalina) , I installed it to my system. but by default it is not working (inspite of all of its classpath settings) I made settings for enviornment variables as follows:- SET JBOSS_DIST=E:\JBoss-2.4.8_Tomcat-4.0.4\JBO

Re: Locating Dynamically Generated Files...

2002-09-24 Thread Jacob Kjome
Are you saying that you want to create files and leave them in a place on the web where someone can get them at a future date, or is this just a dynamic file for this user for this particular download? You probably just want to stream the file to them and not create it on disk. You should avoid

? java.net.BindException: Address already in use

2002-09-24 Thread Bill Blackmon
I'm getting to following error message when I start Tomcat on my Hosts machine: << Catalina.start: LifecycleException: Error creating server socket (java.net.BindException): java.net.BindException: Address already in use LifecycleException: Error creating server socket (java.ne

RE: Locating Dynamically Generated Files...

2002-09-24 Thread Adam Greene
You could use the servlet context's getRealPath(). I'm not sure the exact name of the class (I use Tapestry for all my web development and it accesses it as getServletContext().getRealPath()). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September

  1   2   >