RE: Can Tomcat 3.3 support multiple versions of the JVM simultaneousl y?

2003-01-10 Thread Ralph Einfeldt
I can just say how we have done it with tomcat 4 under linux/unix: Although we have a setup that uses one instance per website it should give you a start how to achieve what you want. We have a structure like this: /usr/local/java/jdk/ibm1.3 /usr/local/java/jdk/sun1.3

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Peng Tuck Kwok
I have experience that before, but that was my fault rather than tomcat. I put the source jar instead of the driver binary. Other than that DBCP worked as described in the tomcat documents. Cannot load JDBC driver class null usually means that it couldn't find the jdbc driver that you

RE: Urgent problem with Singleton

2003-01-10 Thread Ralph Einfeldt
Beside that what craig said your seatbelt against the double invocation is not secure. You have to synchronize the access to hasBeenInitialized (either by making contextInitialized synchronized or by wrapping the if(!hasBeenInitialized) block in a synchronized block) -Original

RE: Java Bean Scope questions (a lengthy one) [getting desperate]

2003-01-10 Thread Ralph Einfeldt
As already was pointed out you have to reinitialise sindex before you run the while loop. There at least to options to do that: - define a method like initStateList() and call it before you enter the loop. - reset the value in hasMoreStates() when false is returned -Original

Re: tomcat welcome-file

2003-01-10 Thread Catalin
what can you tell me about option 3) i have apache 1.3.27, tomcat4 and mod_jk ! what should i DO to make it not Redirect ! Catalin - Original Message - From: Bill Barker To: [EMAIL PROTECTED] Sent: Friday, January 10, 2003 8:32 AM Subject: Re: tomcat welcome-file 1) Use Tomcat

Re: Java Bean Scope questions (a lengthy one)

2003-01-10 Thread Bill Barker
Denise Mangano [EMAIL PROTECTED] wrote in message 5D83C44941AFD4118B6F0002B302984F438642@EXCHANGE_SERVER">news:5D83C44941AFD4118B6F0002B302984F438642@EXCHANGE_SERVER... Bill, Let me see if I understand this correctly. You are correct. I use formBean throughout various pages, so I understand

Why is NodeIterator class not found?

2003-01-10 Thread avitabile
Hi, I already put this question to the list and got no answer. I try to formulate it differently, as I really hope someone on the list will at least give a hint where I should look for a solution. I am trying to build a Tomcat distribution kit, using ant. The build fails because it cannot

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread David Durst
I have experience that before, but that was my fault rather than tomcat. I put the source jar instead of the driver binary. Other than that DBCP worked as described in the tomcat documents. Cannot load JDBC driver class null usually means that it couldn't find the jdbc driver that you

Re: Virtual hosting and mod_jk

2003-01-10 Thread Andreas Hirner
Hi, Thank you for your help. Unfortunately I had already solved the problem myself. The only thing I did is uncomment the folowing line in the httpd.conf Include /usr/local/tomcat/conf/auto/mod_jk.conf and replace with the following block, so that the automatic configuration is disabled.

Re: Cannot load JDBC driver class 'null'

2003-01-10 Thread Shawn
I had that error too. In my case it had to do with how I configured web.xml and server.xml. I was able to get the example from the docs working but when switching to /root context got mixed up. You aren't using the root context are you? In any case, I would double check again server.xml and

RE: JSP source

2003-01-10 Thread Deepa Raja
Sorry for asking some dumb question. I'm not a unix person. What is wget and sendmail? I cannot see those commands in UNIX. Thanks Deepa -Original Message- From: Will Hartung [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 1:43 AM To: Tomcat Users List Subject: Re: JSP source

RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
Few more things I would like to add 1.With apache you could secure your application far better than directly using tomcat. (Don't ask me how. Some experts could help me substantiate this) 2.Load balancing and failover With apache-tomcat integration we could have load balancing and fail over

RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
Hi Julius could you please enlighten me on the following line please. 'Feels safer when using port 1024 on linux/unix.' Thanks Deepa -Original Message- From: Julius Davies [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 10:28 PM To: Tomcat Users List Cc: [EMAIL PROTECTED]

RE: JSP source

2003-01-10 Thread Ralph Einfeldt
Google is your friend: http://www.google.com/search?q=wget http://www.google.com/search?q=sendmail -Original Message- From: Deepa Raja [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 10:29 AM To: Tomcat Users List Subject: RE: JSP source Sorry for asking some dumb

RE: difference between apache and tomcat webserver

2003-01-10 Thread Evans, Michael
None in particular. mod_jk is particularly useful if you want different URI sub folders or different file types to be served by different tomcat servers or if you want to load balance between tomcat servers... It will be slightly slower using mod_jk as the web server will need to connect to

Can´t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
Hello everyone ! I have a small problem: I run Tomcat 4.1.12 on port 8080 and it works fine to use it on the local network (behind a router using NAT with static ip´s) but from outside the router I can´t get any contact with port 8080. I also use Apache on port 80 and that works fine. I have

Applet class not found error

2003-01-10 Thread Santosh Kulkarni
I'm getting the error load: class DrawChart not found when running my applet over the network. But it is perfectly loaded and running when I access it from my localhost. I have my jsp under webapps/examples/applets/test.jsp which has the following applet code. applet code=DrawChart.class

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Ralph Einfeldt
If you are behind a firewall port 8080 may be not enabled in the firewall (at least for http traffic). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: Can´t access Tomcat from outside

Re: Problem accessing user ID if Apache used to auithenticate

2003-01-10 Thread Steve Slatcher
Milt Epstein wrote: On Thu, 9 Jan 2003, Steve Slatcher wrote: So I have Apache 2 passing on requests to Tomcat 4.1 using jk2. I can get Apache to authenicate URLs that are forwarded to Tomcat, but the user ID seems to get lost in the process so I cannot access it from my JSPs. I have

SV: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
No FW /D -Ursprungligt meddelande- Från: Ralph Einfeldt [mailto:[EMAIL PROTECTED]] Skickat: den 10 januari 2003 11:06 Till: Tomcat Users List Ämne: RE: Can´t access Tomcat from outside router, help ! If you are behind a firewall port 8080 may be not enabled in the firewall (at least

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Xavier Prélat
Hi, In the LAN mode are you calling your application using port 8080...(usually for developpement purpose...) ?? this should work but you can call your application calling port 80 too, is this case...you call Apache on port 80, which calls Tomcat on port 8080 using its connector So I

SV: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
I don´t use any connector between apache and tomcat, I run tomcat as standalone. /D -Ursprungligt meddelande- Från: Xavier Prélat [mailto:[EMAIL PROTECTED]] Skickat: den 10 januari 2003 12:24 Till: Tomcat Users List Ämne: RE: Can´t access Tomcat from outside router, help ! Hi, In the

Re: Can I handle exceptions declaratively when using filters?

2003-01-10 Thread Felipe Schnack
I tried to use this error-page tag to redirect all exceptions to a default error page in my system... but this never worked for me. So I wrote a filter that catch the exceptions and redirect them to a specific page. On Fri, 2003-01-10 at 05:52, [EMAIL PROTECTED] wrote: Hi, I am developing a

Unsure how to set environment variables for win xp

2003-01-10 Thread Tammer Salem
Hi, I'm having problems compiling my servlets. I know this is probably out of the domain of tomcat setup, but I decided to ask anyway. I have a servlet called (test.java) in a directory (D:\Program Files\Apache Tomcat 4.0\webapps\test\WEB-INF\classes). My javac.exe is in (D:\j2sdk1.4.1_01\bin).

Error while stopping apache-tomcat installed as windows 2000 Service

2003-01-10 Thread KARNEEDI,RAMAKRISHNA (HP-Singapore,ex5)
hi, apache-tomcat 4.0 is installed on windows 2000 as service and working fine. but after i stop and start the apache-tomcat service, could not able to access jsp pages. the following is error message foundApplication Log in EventViewer. event properties description

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Xavier Prélat
Can you simply use the port 80 to connect to Tomcat ? meaning use port 80 as a default.. Xavier XP -Message d'origine- XP De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] XP Envoyé : vendredi 10 janvier 2003 12:24 XP À : [EMAIL PROTECTED] XP Objet : SV: Can´t access Tomcat from outside

Re: IIS Troubles

2003-01-10 Thread Richard Warwick
Guess what Brian, I've just been through the whole tedious, ghastly business of doing this. I too was at my wits end. In the end I used a modified isapi_redirector.dll - e-mail me for it. I used version 4.1.8 of Tomcat and copied to Program_files as a folder called tomcat4.1 Where are you running

SV: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
No, I have to use port 8080 to access tomcat, I haven´t looked into how the connectors work so I think it´s easier to run tomcat as standalone /D -Ursprungligt meddelande- Från: Xavier Prélat [mailto:[EMAIL PROTECTED]] Skickat: den 10 januari 2003 13:25 Till: Tomcat Users List Ämne: RE:

Re: Authentication and Filters

2003-01-10 Thread Tim Funk
I meant 2.5 since changes to 2.4 are closed from my position in the dev community. My point is only the incoming request is protected by the security constraint in web.xml. It may be nice to allow the programmer to also check future dispatches for authorization before the dispatch occurs.

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Xavier Prélat
Right Now I use JRun ...and Apache I only use JRun as a standalone server for developpement purpose but ont the production platform...I use Apache...to connect to Jrun... I think it is the best thing to do to avoid conflicts no routing, no translation the only port users see and know

Re: SV: Can?t access Tomcat from outside router, help !

2003-01-10 Thread Rasputin
* [EMAIL PROTECTED] [EMAIL PROTECTED] [0110 11:10]: No FW If you're *sure* about that, might it be a DNS issue? Try connecting to your ip address insread. And check it;s not a private IP. -- Rasputin :: Jack of All Trades - Master of Nuns -- To unsubscribe, e-mail: mailto:[EMAIL

SV: SV: Can?t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
Rasputin: I have tried using the ip, same problem.. Xavier: So if I wanna use a connector between apache and tomcat, which is the easiest one to use, and are there any good instructions avaliable on how to do it ? /D -Ursprungligt meddelande- Från: Rasputin [mailto:[EMAIL PROTECTED]]

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Xavier Prélat
..so it's not a DNS problem... I guess you did it...but check agin your router configurationport 8080 is explicitly closed in a standard router configuration... and is the apache server you can connect...and the Tomcat are on the same machine. another track... may be you use a machine

RE: SV: Can?t access Tomcat from outside router, help !

2003-01-10 Thread Xavier Prélat
mod_jk works finebut there is a thread this day dealing with it Xavier XP -Message d'origine- XP De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] XP Envoyé : vendredi 10 janvier 2003 13:35 XP À : [EMAIL PROTECTED]; [EMAIL PROTECTED] XP Objet : SV: SV: Can?t access Tomcat from

Re: HTTPS to HTTP

2003-01-10 Thread John Holman
As said, I was thinking of the scenario where the *whole* site can be accessed without SSL - no admin links or anything like that. I agree with Craig that if there are any sensitive areas at all it is not safe to reuse the session id - and that before enabling any keep session id option it is

RE: Unsure how to set environment variables for win xp

2003-01-10 Thread Turner, John
Check my HOWTO for Windows XP Pro: http://www.johnturner.com/howto There are a couple of places in there where it explains how to install the JDK, set JAVA_HOME, etc. John -Original Message- From: Tammer Salem [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 6:52 AM To:

RE: difference between apache and tomcat webserver

2003-01-10 Thread Turner, John
On UNIX/Linux, ports less than 1024 are privileged ports. To run a service on them, you have to run the service as root. Running services as root is generally a bad idea: an exploit like a buffer overflow can allow access to the operating system via that service, and since the service is

Re: Applet class not found error

2003-01-10 Thread Andreas Probst
Hi Santosh, Tomcat won't serve the class files to the client, as it never serves files below WEB-INF. Put your class files somewhere else, but not under WEB-INF. Then it will work. Andreas On 10 Jan 2003 at 2:04, Santosh Kulkarni wrote: I'm getting the error load: class DrawChart not

RE: Virtual hosting and mod_jk

2003-01-10 Thread Turner, John
That may have solved the problem, but now you are limited to serving that application on that domain, only. If you add anything more (another domain name, another application, etc) you will want to understand how to use virtual hosts and the JkMount statement in httpd.conf. John

RE: JSP source

2003-01-10 Thread Turner, John
wget is a text-based client that can make HTTP and FTP requests, copying the results to a file. It's not a browser...it doesn't show anything on the screen but a progress message. So, if there was a file somewhere that you wanted, like the latest binary release of Tomcat, you could type

Re: HTTPS to HTTP

2003-01-10 Thread John Holman
My understanding (at the moment) is that there are two scenarios where sesssion id reuse might be safe: a) (the scenario I suggested) the *only* secure page requiring https is the login page. Accessing that using the sniffed session id will only let the bad guy login - which gains him nothing.

SV: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Daniel.T.Hellstrand
I´ve checked the router several times, even upgraded firmware and made a factory reset and reconfigured it. The apache server is on the same machine. Not using multiple ips´. /D -Ursprungligt meddelande- Från: Xavier Prélat [mailto:[EMAIL PROTECTED]] Skickat: den 10 januari 2003 13:40

RE: HTTPS to HTTP

2003-01-10 Thread Ralph Einfeldt
As long as you know what you do and are shure that you (or any other person that may maintain the site in the future) always remember what you have done that may be ok. The risk I see that with such an approach is that it is quite easy to forget about the potential risks of this solution

RE: SV: Can?t access Tomcat from outside router, help !

2003-01-10 Thread Turner, John
Can you access any other service on any other port besides port 80? It's very possible your ISP is restricting traffic to only certain ports, regardless of what you do on your router. Is your connection to this outside network open? That is, when you say router do you mean a real router like a

Re: Applet class not found error

2003-01-10 Thread Santosh Kulkarni
Hi Andreas, It worked when I put the class file under webapps/examples/applets folder where my jsp was located. By default it picks up from the current folder and if we put it in some other folder, we need to specify the codebase attribute too for the applet tag. Thanks Santosh --- Andreas

RE: difference between apache and tomcat webserver

2003-01-10 Thread Mike Millson
This is a valuable security feature of unix/linux/solaris/free bsd/etc. Because it impacts tomcat config shouldn't be misinterpreted as some kind of limitation w/ the operating system. Windows may have caught up in some respects, but these type features are why unix/linux/etc are more secure than

RE: Can´t access Tomcat from outside router, help !

2003-01-10 Thread Ralph Einfeldt
Let me summarize what I think what you have done. As much as I understood you have a domain abc.tld which has a public IP 1.1.1.1 Internaly the apache and the tomcat server run on the private IP 2.2.2.2. You have configured your router (NAT) to map incoming requests for 1.1.1.1 to 2.2.2.2.

Re: HTTPS to HTTP

2003-01-10 Thread John Holman
I agree with all of this. For functionality like changing the password I'd use a different SSL-only web application, not include that functionality in the mixed application. The user would then have to reauthenticate to change the password - but I'd want them to do that anyway since they may

RE: ServletContextListener started 2 times

2003-01-10 Thread Shapira, Yoav
Hi, Do you have both a .war file or your webapp and an exploded directory structure for it? Do you have a Context element for your context in the server.xml file? Either of those can cause double initialization under some circumstances, and then you'd see listeners instantiated twice,

RE: difference between apache and tomcat webserver

2003-01-10 Thread Deepa Raja
John and Mike Thanks the info -Original Message- From: Mike Millson [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 1:33 PM To: Tomcat Users List Subject: RE: difference between apache and tomcat webserver This is a valuable security feature of unix/linux/solaris/free bsd/etc.

RE: Authentication and Filters

2003-01-10 Thread Jacob Hookom
Authentication aside, does the servlet container work such that an include or RD operation has the option of passing through the filter? If so, as of which release? Best Regards, Jacob | -Original Message- | From: Tim Funk [mailto:[EMAIL PROTECTED]] | Sent: Friday, January 10, 2003 6:30

Re: Applet class not found error

2003-01-10 Thread Andreas Probst
Hi Santosh, true, but it must not be under WEB-INF. Andreas On 10 Jan 2003 at 5:27, Santosh Kulkarni wrote: Hi Andreas, It worked when I put the class file under webapps/examples/applets folder where my jsp was located. By default it picks up from the current folder and if we put it in

RE: Authentication and Filters

2003-01-10 Thread Cox, Charlie
it currently does not allow this. Apparently this ability will be added to the servlet spec 2.4 which would then be implemented in tomcat 5.x Charlie -Original Message- From: Jacob Hookom [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 9:37 AM To: 'Tomcat Users List'

Re: Authentication and Filters

2003-01-10 Thread Tim Funk
Filters are only performed on the incoming request. So the filter chain is executed once and only once per request. There is an option in the 2.4 Servlet API to allow filter chains to be invoked on .includes() and .forwards(). See section 6.2.5 of the Servlet 2.4 Spec for more details. Tomcat

Re: Authentication and Filters

2003-01-10 Thread AAron nAAs
In the meantime, you can intercept includes by writing your own taglib tag to do the include. With your code behind the include, you can do what you wanted to do in the filter chain. Example use of a custom include: %@page contentType=text/html% %@ taglib uri=/mylib prefix=my % html

Re: Web Deployment Descriptor Realm

2003-01-10 Thread Jeanfrancois Arcand
No since web.xml is servlet specific (and Realm are Tomcat specific). On solution is to create your_app_name.xml that contains a Context element that define your realm, put it under /WED-INF and include an HOW-TO-DEPLOY-THIS-WEB-APP file somewhere in your war file to tell people how to deploy

[OT] Charting Libraries

2003-01-10 Thread Wagoner, Mark
I am looking into the ability to add charting capabilities to our intranet app and was wondering if anyone else has experience with any of the available packages. One of the requirements is, of course, that I can create the graphs in Tomcat and send the results to a browser, and I would prefer

Re: [OT] Charting Libraries

2003-01-10 Thread Felipe Schnack
Take a look at JFreeChart, fast and simple, I'm using it and I like... Well, JFreeChart generates java.awt.BufferedImages, so you can easily write an Servlet that returns this directly to the client browser... Sorry, I don't remember the link to its homepage, but you know... Google is our

RE: [OT] Charting Libraries

2003-01-10 Thread Jim Urban
We have used jCharts (http://jcharts.sourceforge.net/). It's designed to work in a servlet and JSP environment. The doc even includes how to set up the samples to run with Tomcat. We are quite pleased with this package. It's easy to use and the author was quick to resolve issues. Jim

4.1.18: how to disable writing of SESSIONS.ser ?

2003-01-10 Thread Simon Hefti
Hi, I'm trying to turn off session serialization for Tomcat 4.1.18 (using jsdk 1.4.1). I did not find enough information in the docs nor on the web, and did not succeed with trial and error - so I try the list. I figured I would have to add DefaultContext reloadable=false Manager

Re: How do I set a default servlet?

2003-01-10 Thread JStanczak
Is that the only bad thing about it. The reason I'm asking is because the servlet that I'm wanting to map is the one that generates all the web pages. So if someone goes to http://www.myserver.com I want that to call this servlet that will generate a default web page. Namely the front page to our

Re: One other freaky thing

2003-01-10 Thread Jeff Tulley
Yeah, I was referring to the almost identical bug. We must have still been using that version, and maybe I'm thinking of it as we used it with Tomcat 3.3.1, not 4.1.x. Jeff Tulley ([EMAIL PROTECTED]) (801)861-5322 Novell, Inc., the leading provider of Net business solutions

Re: Virtual hosting and mod_jk

2003-01-10 Thread Andreas Hirner
Hi, That may have solved the problem, but now you are limited to serving that application on that domain, only. If you add anything more (another domain name, another application, etc) you will want to understand how to use virtual hosts and the JkMount statement in httpd.conf. John I

Can't log in if PC clock different to server clock

2003-01-10 Thread Ben Jessel
I'm using JDBC realms, and I have found that I cannot log in if my PC clock is behind the server's clock. This may actually happen in production with many users. Does anyone know a workaround? Thanks Ben

manager app permissions issue

2003-01-10 Thread Durham David Cntr 805CSS/SCBE
Hello, I'm trying to use the manager app but recieve the following error: java.lang.SecurityException: Servlet of class org.apache.catalina.servlets.ManagerServlet is privileged and cannot be loaded by this web application Did some looking around and the only thing I can come up with is

RE: JSP source

2003-01-10 Thread Varley, Roger
Hi I want to do some reporting that is to be called by a cron job. I do not want to use a reporting tool. Can use JSP * to talk to the database * fetch the relevant details * format the details as a report * fetch the HTML source of the generated report *

How do I...

2003-01-10 Thread Luc Foisy
Get out put to go into the context specific logs rather than catalina.out?? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

RE: How do I...

2003-01-10 Thread Jacob Hookom
Refer to your server.xml and look at the examples setup towards the middle where it declares the logger and file pattern. | -Original Message- | From: Luc Foisy [mailto:[EMAIL PROTECTED]] | Sent: Friday, January 10, 2003 11:09 AM | To: Tomcat User List (E-mail) | Subject: How do I... | |

RE: Can't log in if PC clock different to server clock

2003-01-10 Thread Xavier Prélat
Can you explain a bit...which log system do you use...?? to log in what...which purpose (server connection, authentication, Authorization, sessions?? Xavier XP -Message d'origine- XP De : Ben Jessel [mailto:[EMAIL PROTECTED]] XP Envoyé : vendredi 10 janvier 2003 17:59 XP À : Tomcat

WAR future-compatibility

2003-01-10 Thread Erik Price
I have learned, thanks to reading this list, that one cannot depend on the presence of the filesystem when developing a webapp, if that webapp is ever to be bundled as a WAR file. I would like to structure my webapp thusly: /webapp | jsp1.jsp jsp2.jsp jsp3.jsp /includes -- this

RE: How do I...

2003-01-10 Thread Luc Foisy
Thanks! But that gives me very little clue. Here are Global and Context Logger's that are configured !-- Global logger unless overridden at lower levels -- Logger className=org.apache.catalina.logger.FileLogger prefix=catalina_log. suffix=.txt

Re: manager app permissions issue

2003-01-10 Thread Jeanfrancois Arcand
Which Tomcat version are you using (works for me with 4.1/5.0)? From the error you have provided, seems you are trying to get access to class ManagerServlet from one of your class. ManagerServlet class is package protected by Tomcat when running with the security manager (your case). If you

OT: what source code control system?

2003-01-10 Thread David Boyer
We have a staff of 8-10 student employees and a couple full time staffers that write desktop and web applications or their supporting components. We're mostly using Visual Basic and MS Access for desktop apps and ASP (on IIS 5.0) for web apps, but I'm nudging everyone toward Tomcat/Java. I'd like

RE: HELP, PLEASE! Tomcat creates too many threads!

2003-01-10 Thread Joao Filipe Placido
Well, now I'm not using SingleThreadModel and the problem remains. The threads are only killed when I restart tomcat and a few are created at every request. Here's a thread dump. The threads Thread-x keep appearing for every request and they seem to be locked at some Object.wait() method. Is there

Windows Service

2003-01-10 Thread Jeffrey Winter
Sorry about this question that has apparently been asked and answered innumerable times, but: I'd like to run Tomcat as a Windows 2000 service. Searching, I see there is a utility jk_nt_service.exe that is available, but I can't seem to locate the version that is appropriate for Tomcat 4.0.x.

Re: Windows Service

2003-01-10 Thread David Boyer
I believe there is a tomcat.exe in the /bin folder of the Tomcat 4 distribution for the purpose you mention. - Original Message - From: Jeffrey Winter [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, January 10, 2003 11:32 AM Subject: Windows Service Sorry about

RE: Windows Service

2003-01-10 Thread Jim Urban
There is an option in the Tomcat installer to install Tomcat as a service on Windows. Jim -Original Message- From: Jeffrey Winter [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 11:33 AM To: Tomcat Users List Subject: Windows Service Sorry about this question that has

RE: what source code control system?

2003-01-10 Thread Turner, John
CVS http://www.cvshome.org/ I've had the opportunity to work with several different solutions, primarily commercial, over the years, and after those experiences, I wouldn't choose anything but CVS. Also: http://www.cvsnt.org/ which was developed as a service for Windows NT John

Re: Why is NodeIterator class not found?

2003-01-10 Thread Jacob Kjome
Hello avitabile, Make sure you have xmlParserAPIs.jar. That is where it exists. Of course, along with this, you will need the XercesImpl.jar. Those should go in CATALINA_HOME/common/endorsed. They could also be put in common/lib or shared/lib, but if you are using j2sdk1.4.x and want to

Re: How do I...

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 12:08 pm, Luc Foisy wrote: Get out put to go into the context specific logs rather than catalina.out?? Hello, This http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html tells about using the Context element in server.xml to configure a webapp. Scroll

RE: HTTPS to HTTP

2003-01-10 Thread John Roth
Is there an FTP connector for Tomcat? If so, I would be very interested in it. Thanks, John -Original Message- From: Shah, Sanjay [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 09, 2003 1:03 PM To: 'Tomcat Users List' Cc: 'Craig R. McClanahan' Subject: RE: HTTPS to HTTP Hello

RE: Windows Service

2003-01-10 Thread Turner, John
http://www.mattkelli.com/tech/tomcat/ntservice.htm Not sure how well it will work for 4.0.x, though. The run as service option for the installer in 4.1.x works like a charm. John -Original Message- From: Jeffrey Winter [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003

Re: Unsure how to set environment variables for win xp

2003-01-10 Thread jmong
Hi there. Try the following 1. create the following batch file @echo off set JAVA_HOME=D:\j2sdk1.4.1_01\ set CATALINA_HOME=D:\Program Files\Apache Tomcat 4.0 set CLASSPATH=.;%JAVA_HOME%\src.jar;%JAVA_HOME%\lib\tools.jar;% CATALINA_HOME%\common\lib\servlet.jar REM compile the stuff javac

Re: JSP source

2003-01-10 Thread Will Hartung
From: Turner, John [EMAIL PROTECTED] Sent: Friday, January 10, 2003 5:08 AM Subject: RE: JSP source wget is a text-based client that can make HTTP and FTP requests, copying the results to a file. wget is a popular program, but may not be installed on your system, so you'll need to hunt it

Re: OT: what source code control system?

2003-01-10 Thread Larry Meadors
CVS! It is free. It runs on darn near anything. There are several good java interfaces, and tools like netbeans and eclipse also work well with it. For windows users, you can use WinCVS, and my preference - the command line! Also, the server-side repository is binary compatible across

Re: Windows Service

2003-01-10 Thread Jeffrey Winter
There is an option in the Tomcat installer to install Tomcat as a service on Windows. Jim Ah yes, thanks. I see now that the lastest 4.1 has it as part of the install. I'm just going to upgrade my installation. Sorry! -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: help conecting Tomcat with a As/400

2003-01-10 Thread Noel J. Bergman
As I said in response to your earlier e-mail, you really should be asking these questions in tomcat-user. Personally, I still use my own JDBC connection pool. Unlike DBCP, I know every line of my connection pool and, more importantly, I know that it works. There is step-by-step documentation on

request for extra information

2003-01-10 Thread Mourad Basrir
I have downloaded tomcat1.1.1 I read the Tomcat IIS HowTo.. but I don't understand the Configuring the ISAPI Redirectorchapter. Please I need some détails concerning the configuration of the ISAPI.Mainly: In the registry, create a new registry key named HKEY_LOCAL_MACHINE\SOFTWARE\Apache Software

Re: How do I...

2003-01-10 Thread Dan Lipofsky
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html tells about using the Context element in server.xml to configure a webapp. Scroll down and note the Logger entry under Nested Components. I hope this helps. I have the same question as Luc. I set up a Context with a Logger

RE: what source code control system?

2003-01-10 Thread Noel J. Bergman
Despite the fact that it is widely used, the list of problems with CVS is long and distinguished. Since you can't use SourceSafe, I would recommend that you look at Subversion (http://subversion.tigris.org). Subversion is self-hosting, works with database and apache, has an API, and there is a

Re: HTTPS to HTTP

2003-01-10 Thread Raiden
Hi Bill, Honestly, as a user, I don't feel competent enough with the Tomcat internal architecture to write a patch. However, to me, this is a vital thing missing from the tomcat 4.1.x branch. Quite a few of the sites that I work on require that a session created under https be accessible under

tomcat manager question

2003-01-10 Thread Geoff Peters
I recently upgraded from 4.0.2 ro 4.1.18 on a development box running Windows 2K server. I am in the process of migrating some applications to this version of Tomcat, also to jdsk 1.4.1_01. Got everything up and running with one small problem related to the manager interface. I have the

Tomcat 4.1.12 Directory Listing

2003-01-10 Thread Venkateshwar Bommineni
I would like to use default tomcat directory listing functionality in one of my application. Following is the context added to server.xml configuration. Context className=org.apache.catalina.core.StandardContext path=/directory docBase=C:\application\data debug=0 Resources

Prevent directory listing - read the fine manual

2003-01-10 Thread Vy Ho
Yes, you will ask me to read the fine manual. But I seach, and all that and could not find (easily) where the needed manual is. But I found some help one the web. That was not enough. So I download the 2.3 spec. Well, the size of it went over my head. Do some search did not help. Here is my

Seeking expression of interest (no agents please)

2003-01-10 Thread achana
Posted : Thursday, 10-Jan-2003 Position : may need 1 to 2 experienced JAVA contractors to help out ! Location : New York, NY Pay : see Whats on offer ReplyTo : [EMAIL][EMAIL PROTECTED][/EMAIL] No agents please ! I have basic codes in need of major enhancements, you will need to stick to the

page cannot be displayed error

2003-01-10 Thread Anup Ray
Our platform is sun sparc solaris 8. We have our web server as apache 1.3.22 (SSL). This web server hostname is u10-2.safe-prop.com and CNAME for the same host for outside world is scds.safeguardproperties.com. This webserver has been working for last one year. Recently we added mod_jk connector

RE: what source code control system?

2003-01-10 Thread srinath narasimhan
Use CVS -- www.cvshome.org. It has a web interface as well. -Original Message- From: David Boyer [mailto:[EMAIL PROTECTED]] Sent: Friday, January 10, 2003 12:30 To: Tomcat Users List Subject: OT: what source code control system? We have a staff of 8-10 student employees and a couple

Re: How do I...

2003-01-10 Thread Paul Yunusov
On Friday 10 January 2003 01:18 pm, Dan Lipofsky wrote: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html tells about using the Context element in server.xml to configure a webapp. Scroll down and note the Logger entry under Nested Components. I hope this helps. I

RE: How do I...

2003-01-10 Thread Jacob Hookom
To properly handle logging, you might want to check out log4j.org or commons-logging. It's one of the first things I setup for a project, it makes debugging extremely smooth. | -Original Message- | From: Paul Yunusov [mailto:[EMAIL PROTECTED]] | Sent: Friday, January 10, 2003 12:35 PM |

Re: Content-Length header set automatically?

2003-01-10 Thread Justin Ruthenbeck
At 10:55 PM 1/9/2003, Bill Barker wrote: [The following describes my understanding of how Coyote works for Tomcat 4.x and 5.x -- don't know about 3.3 or responding through a webserver connector.] Tomcat sets the content length automatically in two circumstances: * Static files delivered by

  1   2   3   >