Re: done did not found a worker

2004-02-10 Thread Sergio
Hello, Nicholas. Maybe I'm wrong that I give you this config, but it works on my system (Win2003) (the part about pathes I've used before, and about balancers i've find in the web-documentation): # Start config- worker.ajp13.type=ajp13 # more than 1 worker.ajp13.lbfactor=1

Re[2]: Help! Config of multiple hosts and JVM garbage.

2004-02-10 Thread Sergio
Hello, Antonio. 1) You are absolutely right about mounting, but also I figure it out with jk2 connector (I find it in docs - it seems I was a little tired to find it before:)). I've tryed to done it with mod_jk, but the problem was that I want to give access to their sites with FTP and limit this

Re: Help! Config of multiple hosts and JVM garbage.

2004-02-10 Thread Antonio Fiol Bonnín
Hi Sergio, 1) public_html would be enough, AFAICT. 3) What I meant is: if you have 512Mb RAM, set your JAVA_OPTS=-Xmx256m (as I understand that you may have half your RAM free when Tomcat is not running). The idea about buying more RAM was a kind of a joke, especially because I did not know

Re: done did not found a worker

2004-02-10 Thread David Rees
Nicholas Bernstein wrote, On 2/9/2004 6:26 PM: if you've got a minute, take a look @ the configs I posted http://nicholasbernstein.com/tomcat/ and let me know if you see anything wrong with the setup. I'd rather stick to apache2; i'm using redhat ES and it looks like they've made a lot of RH

Re: done did not found a worker

2004-02-10 Thread David Rees
Dwayne Ghant wrote, On 2/9/2004 7:02 PM: Dave, I have been having semular issues would it be impossible for to post the four files listed below: 1. http.conf 2. ssl.conf 3. server.xml 4. workers2.properties Here's a sample for setting up Apache. This will work on either Apache 2.0.X or Apache

include files

2004-02-10 Thread Chris Daly
hi i've tested a new version of my jsp include file (a header which is referenced by about 40 pages) on one jsp page, and its wokred ok. i've changed the coding of the include page though none of the other jsp pages have picked up the new include and are still looking to teh old one ? i've

Re: include files

2004-02-10 Thread De Toffoli Garry
Chris Daly ha scritto: hi i've tested a new version of my jsp include file (a header which is referenced by about 40 pages) on one jsp page, and its wokred ok. i've changed the coding of the include page though none of the other jsp pages have picked up the new include and are still looking

RE: include files

2004-02-10 Thread Yiannis Mavroukakis
If you think everything else is working ok, stop tomcat delete everything under the work directory and start again. -Original Message- From: Chris Daly [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 09:19 To: [EMAIL PROTECTED] Subject: include files hi i've tested a new version of my

Native application from servlet (java.net.SocketException: Connection reset by peer: socket write error)

2004-02-10 Thread Veselin Kovacevic
Hi all, We have a servlet based application which open a native application and read some output from them. Sometimes we get an error in tomcat logfile but application work fine. Here is error. Any ideas what is possible problem? 2004-02-09 10:02:26 StandardWrapperValve[default]:

RE: include files

2004-02-10 Thread Chris Daly
everyhting under the work directory, all the directories work/Standalone/localhost etc etc ? wont this delete the standlone server ? At 10:09 10.02.2004 +, you wrote: If you think everything else is working ok, stop tomcat delete everything under the work directory and start again.

Re: include files

2004-02-10 Thread De Toffoli Garry
Chris Daly ha scritto: everyhting under the work directory, all the directories work/Standalone/localhost etc etc ? wont this delete the standlone server ? At 10:09 10.02.2004 +, you wrote: If you think everything else is working ok, stop tomcat delete everything under the work

Configuration question

2004-02-10 Thread Arnaud Deflorenne
Hello, I work with Tocat 5.018 on Win2K. Here is my question: I would like to define two web adresses (www.adress1.com and www.adress2.com) on the nearly same web site... In fact, my first adress has to point to my default web page in the root folder (/index.htm) : no problem for this, it works

Re: Configuration question

2004-02-10 Thread Chris Daly
i think what you mean is run two instances of tomcat. you do this within the conf/server.xml, and make another copy of the context path file where docbase is the root directory of your new website, remember to stop and start tomcat for the changes to take effect. Context path=/..

creating threads in tomcat

2004-02-10 Thread Damjan Majstorovic
Hi all; I realize this is a 'complex' (for me at least) question, but maybe someone can give me their opinion on it. I am using Tomcat 5 for my webapp which allows insertion of messages (and much more). I also need to have an independent 'engine' that will look into DB and 'handle' newly

AW: Tomcat 5.0.18 with connector to IIS?

2004-02-10 Thread Michael Sudkamp
Daniel Thanks for the setup. I was looking for a long time for a working combination of binary, config files and install instruction. I have manually installed the old JK connector a lot of times without any problems but it never worked for me for JK2 with the install instruction that ships

JK1 vs JK2 connector

2004-02-10 Thread Michael Sudkamp
Hello, I have used the 'old' JK connector for a long time with Tomcat 4.0 and 4.1 and IIS. I had never any problems with stability. Very recently I figured out how to set up the JK2 connector (thanks Daniel). Now I wonder if I should from now use JK2 instead. What are the pros and cons? Best

Logging of JK2 ISAPI connector

2004-02-10 Thread Michael Sudkamp
Hello, I wonder how I can activate logging for the JK2 ISAPI connector? With the old JK there were the registry keys log_file and log_level. But they seem not to work with JK2. I also tried logFile and logLevel. Any ideas? Michael

Snooping on Session data

2004-02-10 Thread Pete Stokes
Hi. If I have a running Tomcat, am I able to view the actual data in user's sessions? Similar to the functionality provided by WebSphere Snoop / ATG Dynamo management. Pete. *** This email and any files

Re: JK1 vs JK2 connector

2004-02-10 Thread Tim Funk
Most likely jk1 is more stable than jk2. Both rely on the same wire protocol so tomcat really won't know the difference, the difference is in the webserver configuration. If you want to go wiht jk2, there is a new release on the horizon. But if its anything like the jk1 release, we thought

Re: Snooping on Session data

2004-02-10 Thread Tim Funk
You can probably snoop if .. 1) You wrote your own webapp 2) AND The webapp was written to use tomcat's internal api to snoop 3) AND The webapp was deployed as a privledged webapp (it uses the server classloader) -Tim Pete Stokes wrote: Hi. If I have a running Tomcat, am I able to view the

Form Based Authentication - Registration

2004-02-10 Thread Alexander F. Hartner
We have form based authentication working as follows : 1.) Customer requests access to a realm 2.) Redirect to login page 3.) Customer authenticates 4.) Customer redirected to realm as original request No we want to add registration and have the following happen 1.) Customer requests access to a

Apache 2.x and Tomcat 5.x

2004-02-10 Thread Daniel Thivierge
Hi all, Sorry if this was ask before, but, I could not find any information on the NET. We had Apache 2.x and Tomcat 4.x running find on SuSE Pro 9.0. Our client wanted/needed to move to Tomcat 5.x for whatever reason. We install Tomcat 5.x and start it without any problem, then we started

RE: Apache 2.x and Tomcat 5.x

2004-02-10 Thread Yiannis Mavroukakis
Depends :) If mod_jk was looking for workers.properties in the absolute path Tomcat 4 used to be(and Tomcat 5 is in a different one), better bandage that leg to stop the bleeding ;) Yiannis. -Original Message- From: Daniel Thivierge [mailto:[EMAIL PROTECTED] Sent: 10 February 2004 12:52

RE: creating threads in tomcat

2004-02-10 Thread Shapira, Yoav
Howdy, 1. Implement my engine in Tomcat JVM. 2. Implement it in a JVM outside Tomcat and communicate with the webapp only thru DB. (so almost have 2 independent apps that use the same DB) 3. Implement it in a JVM outside Tomcat and communicate with Tomcat JVM thru RMI. I like 1. because all

RE: Logging of JK2 ISAPI connector

2004-02-10 Thread Krell, Andrew
With JK2 you set the log in the workers2.properties file. Since you are using ISAPI, you will want: [logger.win32:] Level=(EMERG,ERROR,INFO, or DEBUG) According to the documentation, it normally ends at native Application Event Log. You can change the file location of some of the other

RE: Servlet thread safety in Tomcat

2004-02-10 Thread Shapira, Yoav
Howdy, this has made me think a lot about threading , it is really complicated , I have researched about it but never found a clean solution to Threading is complicated, yes, and difficult to do well. Which is why when possible you should let someone else do the work for you and use a library

RE: Tomcat w Java1.5 beta problem

2004-02-10 Thread Shapira, Yoav
Howdy, The problem I had, I think, is that my method used an Enumeration and under 1.5 enum is a new keyword but jakarta-tomcat-jasper/jasper2/src/share/org/apache/jasper used enum many places as an identifier, as do some classes in org.apache.tomcat.util.compat Cool, thanks for researching

RE: Weird Problems

2004-02-10 Thread Shapira, Yoav
Howdy, The first problem is the session counter. It is implemented with the HttpSessionListener. It works fine until recently. Under the TC5.0.X, the counter can be a negative figure. The problem is obviously in your session counter code: if you posted it, we could help more. The second is a

Help!!! How to get a simple jsp page working

2004-02-10 Thread Avinash Sridhar
hi, I am usng Tomcat 5.0.16 And facing the below mentioned problem I have a directory by name sampleapp,now I have made a directory named ROOT inside the sampleapp directory. I have written a simple MyJsp.jsp jsp file and placed it in the above mentioned ROOT ,now my question is How does

Apache 2, Tomcat 4.1, RH 9 - servlet/jsp requests return only on second hit

2004-02-10 Thread Brent Parker
My Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29 It takes a second request (to port 80) to get a jsp or servlet output to display in the browser: I type in the url (jsp or servlet) and hit Enter, the browser (Mozilla and IE) spins indefinitely. I then highlight the address line

RE: Help!!! How to get a simple jsp page working

2004-02-10 Thread Sperati Massimo
Avinash Sridhar wrote: hi, I am usng Tomcat 5.0.16 And facing the below mentioned problem I have a directory by name sampleapp,now I have made a directory named ROOT inside the sampleapp directory. I have written a simple MyJsp.jsp jsp file and placed it in the above mentioned ROOT ,now

Re: Logging of JK2 ISAPI connector

2004-02-10 Thread Sam Seaver
Just a note, though this only happened to me in Linux: If the 'native Application Event Log' gets disrupted somehow, then it caused the connector to 'hang' and thus stopped all calls for jsp pages. In Linux what happened to me every sunday was that the 'logrotate' utiltiy would move my

Configuration question (part 2)

2004-02-10 Thread Arnaud Deflorenne
Thanks a lot. If I understand your email, I have to add a Context tag in my host definition? Host name=www.adress1.com debug=0 appBase=d:\inetpub\wwwroot\mydirecory\ unpackWARs=true autoDeploy=false Context path= docBase=. debug=0 /Context Valve

DBCP and removeAbandoned

2004-02-10 Thread Eric Prévost
Hi, I'm using Tomcat 5.0.18 on Linux. My database server is Microsoft SQL Server 2000. I'm using Microsoft's JDBC driver. This is my data source definition in server.xml: Resource name=jdbc/intranet type=javax.sql.DataSource/ ResourceParams name=jdbc/intranet parameter

Re: include files

2004-02-10 Thread Chris Daly
thanks. do i delete the name of the app under tomcat, for example work/Standalone/localhost/Website ? and all the $... files and the two directories - Help and WEB-INF under this directory ? what is the touch cmd ? i cant find it in my wrox tomcat book ? cheers chris You would delete

Re: include files

2004-02-10 Thread Milt Epstein
On Tue, 10 Feb 2004, Chris Daly wrote: hi i've tested a new version of my jsp include file (a header which is referenced by about 40 pages) on one jsp page, and its wokred ok. i've changed the coding of the include page though none of the other jsp pages have picked up the new include and

Re: include files

2004-02-10 Thread De Toffoli Garry
You would delete only the file under the work directory; WEB-INF exist on the directory of your web site, and not under work; if you have installed tomcat in /usr/tomcat, the work directory is: /usr/tomcat/work; with your example: /usr/tomcat/Standalone/localhost/Website the touch cmd is a

RE: include files

2004-02-10 Thread Yiannis Mavroukakis
The touch command is on Unix OS'es. It hasn't got anything to do with tomcat. What it does is it updates (among other things) the last modified attribute of a file, but in your case the purpose is (at least if my head is screwed on right) to trigger Tomcat into detecting a file change in the work

Re: include files

2004-02-10 Thread Milt Epstein
On Tue, 10 Feb 2004, Chris Daly wrote: thanks. do i delete the name of the app under tomcat, for example work/Standalone/localhost/Website ? and all the $... files and the two directories - Help and WEB-INF under this directory ? I don't think there should be a WEB-INF under there. Are

Re: DBCP and removeAbandoned

2004-02-10 Thread SMaric
Hi If I've understood things correctly removeAbandoned should enable recovery of 'lost' connections - ie your webApp dies without cleanly releaseing the Connection object, so having removeAbandoned on tells the container to keep an eye on things You've also got the timeout set to 60 (secs ??) -

Re: Help!!! How to get a simple jsp page working

2004-02-10 Thread De Toffoli Garry
Avinash Sridhar ha scritto: hi, I am usng Tomcat 5.0.16 And facing the below mentioned problem I have a directory by name sampleapp,now I have made a directory named ROOT inside the sampleapp directory. I have written a simple MyJsp.jsp jsp file and placed it in the above mentioned ROOT ,now my

Re: DBCP and removeAbandoned

2004-02-10 Thread Eric Prévost
I did my tests yesterday, and the connections was still alive this morning... I also tested 5 seconds before. SMaric [EMAIL PROTECTED] wrote:Hi If I've understood things correctly removeAbandoned should enable recovery of 'lost' connections - ie your webApp dies without cleanly releaseing the

Re: Apache 2, Tomcat 4.1, RH 9 - servlet/jsp requests return only on second hit

2004-02-10 Thread David O'Brien
At 09:18 AM 2/10/2004, Brent Parker wrote: My Config: Redhat 9, Apache 2.0.47, mod_jk 1.2.6, Tomcat 4.1.29 It takes a second request (to port 80) to get a jsp or servlet output to display in the browser: I type in the url (jsp or servlet) and hit Enter, the browser (Mozilla and IE) spins

Re: DBCP and removeAbandoned

2004-02-10 Thread Philipp Taprogge
Hi! Eric Prévost wrote: I'm using Tomcat 5.0.18 on Linux. My database server is Microsoft SQL Server 2000. I'm using Microsoft's JDBC driver. When I stress-test my application with JMeter, I can see over 80 connections on my database server, and they are not released until I stop tomcat... Is

Re: DBCP and removeAbandoned

2004-02-10 Thread SMaric
When you say 'the connections was still alive this morning' How are you testing for connections being abandoned Also your maxActive = 50//doesn't this mean you shouldn't get more tahn 50 connections from the pool if this is true ( working) then HOW do you know that the 80

Re: include files

2004-02-10 Thread Chris Daly
thanks to all. At 09:06 10.02.2004 -0600, you wrote: On Tue, 10 Feb 2004, Chris Daly wrote: thanks. do i delete the name of the app under tomcat, for example work/Standalone/localhost/Website ? and all the $... files and the two directories - Help and WEB-INF under this directory ? I

slowly I'm losing it. JSP not working

2004-02-10 Thread Werner van Mook
Hi all, My configuration is : httpd + mod_jk + tomcat 4.1.24 in httpd.conf I have : IfModule mod_jk.c AddModule mod_jk.c JkWorkersFile /home/tomcat/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevelinfo

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Thanks Yoav for your response. The first problem is the session counter. It is implemented with the HttpSessionListener. It works fine until recently. Under the TC5.0.X, the counter can be a negative figure. The problem is obviously in your session counter code: if you posted it, we could help

RE: Weird Problems

2004-02-10 Thread Shapira, Yoav
Howdy, public void sessionCreated(HttpSessionEvent evt) { activeSessionCount++; HttpSession session = evt.getSession(); ... public void sessionDestroyed(HttpSessionEvent evt) { activeSessionCount--; logger.debug(The

RE: Weird Problems

2004-02-10 Thread Bodycombe, Andrew
I think the problem with your listener is that you assume the number of active sessions will be 0 when the server starts up. Tomcat may persist (passivate) sessions when the server is shut down. These sessions will be re-activated the next time the server starts up. If you reduce your session

Re: Logging of JK2 ISAPI connector

2004-02-10 Thread Daniel Schmitt
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configwebcom.html Default looging on win32 is in Start - All Programs - Administrative Tools - Event Viewer to change the loglevel put in your workers2.properties # Default INFO Supported: EMERG, ERROR, INFO, DEBUG [logger] level=DEBUG

IIS + Tomcat running in different machines

2004-02-10 Thread Julian Cardona
Hello list, ¿as i can connect IIS 5.1 and Tomcat 4.0.4 in different machines? Can you give me documentation, urls... I have used worker.ajp13.host=www.superpuertos.gov.co and worker.ajp13.host=192.168.1.28 and it dont work. Thank you. _

RE: Image download?

2004-02-10 Thread jon yeargers
Can you be more specific as to whats (not) happening? Are you getting anything? How are you calling it? -Original Message- From: Josh G [mailto:[EMAIL PROTECTED] Sent: Monday, February 09, 2004 3:59 PM To: [EMAIL PROTECTED] Subject: Image download? Hi, I have a servlet that's trying

Compile time EL type checking

2004-02-10 Thread Stephen Schaub
Current wisdom in Java web application design says we should abandon Java scriptlets on JSP pages, in favor of using JSTL/custom actions and embedded EL expressions. I understand and approve of the reasons for this, but I am disappointed in the loss of reliability and the reduced performance this

Tomcat 5 and applet

2004-02-10 Thread
How to deplay applet in tomcat ? Can somebody give a sample ? When I request a page on tomcat contain a applet , IE tell me can find the applet class, but when I explore the IE cache dir ,I found the class is there Can somebody tell me why ? Sorry for my pool englist Thanks

IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani
I have successfully integrated Tomcat 4.1 and IIS. I have Tomcat handle all jsp files that are on the IIS webserver. Because I'm using IIS, I don't have the standard WEB-INF directory associated with the directories I'm using. I don't know where to put my classes. I've tried putting them in

Re: done did not found a worker

2004-02-10 Thread Dwayne Ghant
But Dave you didn't address this stuff below? I think this is where I'm having the most problems. ##= ##Other needed configuratoin(s) ##= ##define the shared memory file [shm] file=/usr/local/tomcat-4.1.24/work/jk2.shm

Tomcat Manager/Admin authentication

2004-02-10 Thread Pete Stokes
Does any1 know how to turn off the Tomcat prompting for u/p when trying to access manager / admin applications ? Thanks, Pete. *** This email and any files transmitted with it are confidential and intended solely

RE: Tomcat Manager/Admin authentication

2004-02-10 Thread Shapira, Yoav
Howdy, Does any1 know how to turn off the Tomcat prompting for u/p when trying to access manager / admin applications ? It's not possible without modifying the source code for those apps. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may

RE: Tomcat Manager/Admin authentication

2004-02-10 Thread Juan de Bravo
I think you can turn it off by deleting the security-constraint definitions in the file /WEB-INF/web.xml of both apps. Juan. -Mensaje original- De: Shapira, Yoav [mailto:[EMAIL PROTECTED] Enviado el: martes, 10 de febrero de 2004 18:04 Para: Tomcat Users List Asunto: RE: Tomcat

Re: apache-tomcat ssl doc download error in IE

2004-02-10 Thread Mark W. Webb
This fix will only work if you have apache using the mod_headers module. I do not have that module installed on my version of apache, so I am not sure if there is any other work around. Do you have any other ideas? I am quickly running out of ideas myself. thank you. Daniel wrote: Hi, I

Re: done did not found a worker

2004-02-10 Thread David O'Brien
If you are using mod_jk and NOT mod_jk2 then this file's content makes no difference in your configuration. You need to tell apache to use the workers.properties NOT the workers2.properties in your httpd.conf file -Dave At 11:58 AM 2/10/2004, you wrote: But Dave you didn't address this stuff

Re: done did not found a worker

2004-02-10 Thread David Rees
All that stuff below is related to mod_jk2, which I am definitely NOT an expert as noted in my previous email. Hope someone else can help you. -Dave Dwayne Ghant wrote, On 2/10/2004 8:58 AM: But Dave you didn't address this stuff below? I think this is where I'm having the most problems.

Re: IIS + Tomcat + Beans

2004-02-10 Thread BAO RuiXian
[EMAIL PROTECTED] wrote: I have successfully integrated Tomcat 4.1 and IIS. I have Tomcat handle all Although I don't use IIS, but, since you still have problems, how can you claim you have successfully integrated Tomcat 4.1 and IIS. jsp files that are on the IIS webserver. Because I'm

Re: Native application from servlet (java.net.SocketException: Connection reset by peer: socket write error)

2004-02-10 Thread David Rees
Veselin Kovacevic wrote, On 2/10/2004 2:14 AM: We have a servlet based application which open a native application and read some output from them. Sometimes we get an error in tomcat logfile but application work fine. Here is error. Any ideas what is possible problem? Looks normal. Appears

RE: Tomcat Manager/Admin authentication

2004-02-10 Thread Bill Haake
Yes, this works. I just tested it with each on the current 5.0 from CVS -Original Message- From: Juan de Bravo [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 12:11 PM To: 'Tomcat Users List' Subject: RE: Tomcat Manager/Admin authentication I think you can turn it off by

RE: Tomcat Manager/Admin authentication

2004-02-10 Thread Shapira, Yoav
Howdy, I think you can turn it off by deleting the security-constraint definitions in the file /WEB-INF/web.xml of both apps. Doh! ;) puts foot in mouth Well, at least I provided some humor today. Thanks Juan ;) Yoav Shapira This e-mail, including any attachments, is a confidential

RE: IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani
-Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 12:15 PM To: Tomcat Users List Subject: Re: IIS + Tomcat + Beans [EMAIL PROTECTED] wrote: I have successfully integrated Tomcat 4.1 and IIS. I have Tomcat handle all Although I don't

Invalid direct reference from servlet with j_security_check

2004-02-10 Thread Bill Faulk
My original Tomcat application already had a login.jsp which POSTs to a servlet which sets various session attributes after validating the user, password, active flag, etc. Now, I've been asked to let some managers create their own content which will be straight html, pdf's, spreadsheets, etc. I

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Hi, Yoav and Andrew, Thanks both for your helpful responses. What if the container was restarted with several active sessions, causing their serialization to disk, then deserialization when the context starts back up, and then they timeout normally? That will give you a negative counter. I

Re: DBCP and removeAbandoned

2004-02-10 Thread Eric Prévost
There is only one application on this tomcat server... It's easy to identify these connections on SQL server. Also, there is no explicit database connection in the application code: it all pass through JNDI. I also tried to increase my maxActive setting to 100. It didn't change anything. I

Re: Tomcat 5 and applet

2004-02-10 Thread Sam Seaver
It's all in the html, it doesnt really matter if its tomcat or not, because even if you're using JSP, you're still reverting to html to get the browser to display the applet (i dont trust jsp:plugin btw, though the latest tomcat might support it better). I simply use this: object

Re: Tomcat 5 and applet

2004-02-10 Thread Vernon Wu
Since an Applet runs on a client box, you first need to place the .class in a client accessible directory, not underWEB-INF. -- - Original Message - DATE: Wed, 11 Feb 2004 00:51:30 From: #214;#163;#189;#240;#212;#170; [EMAIL PROTECTED] To: [EMAIL PROTECTED] Cc: How to deplay

RE: Weird Problems

2004-02-10 Thread Shapira, Yoav
Howdy, I didn't know the container save the information when it is down. Is it new for the 5.0? No, it was present in all 4.x versions (and is mandated by the servlet specification). 127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] GET /jsp/templates/stylesheet.css HTTP/1.1 200 1558 127.0.0.1 - -

RE: IIS + Tomcat + Beans

2004-02-10 Thread Krell, Andrew
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 11:55 AM To: [EMAIL PROTECTED] Subject: IIS + Tomcat + Beans I have successfully integrated Tomcat 4.1 and IIS. I have Tomcat handle all jsp files that are on the IIS webserver.

RE: Invalid direct reference from servlet with j_security_check

2004-02-10 Thread Bill Faulk
Ugh! As usual, as soon as I post I find the problem. My login.jsp still had a custom tag in it which invalidated the current session. [Insert favorite swear words here] --- Bill Faulk -Original Message- From: Bill Faulk Sent: Tuesday, February 10, 2004 10:25 AM To: Tomcat Users List

Compiling isapi_redirector2 with VS 7. How to start?

2004-02-10 Thread Daniel Schmitt
After downloading jakarta-tomcat-connectors-jk2-src-current.zip vs7 stops with error PRJ0019 A tool returned an error code from Do I have to build all apr.libs from source on my own? Any hint is welcome. Sincerely, -- Daniel Schmitt http://www.shiftomat.com

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Hi, Yoav: 127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] GET /jsp/templates/stylesheet.css HTTP/1.1 200 1558 127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] GET /favicon.ico HTTP/1.1 404 3362 127.0.0.1 - - [10/Feb/2004:09:19:13 -0800] GET / HTTP/1.1 200 3738 I don't know what the favicon.ico is. It is

RE: Weird Problems

2004-02-10 Thread Shapira, Yoav
Howdy, error-page error-code404/error-code location/jsp/notfound.jsp/location /error-page How can I change the way the notfound.jsp is invoked so that the type of 404 error is ignored? I don't understand the question. If you don't want notfound.jsp to be invoked for 404

How to configure Tomcat 5.0+ behind a hardware accelerator?

2004-02-10 Thread Adrian Klingel
Can anyone supply me with a link to a document that contains information on how to configure Tomcat 5.0+ to sit behind an SSL accelerator machine? I've been unable to find specifics on the internet, only the fact that people have done it. Thanks very much, Adrian Klingel

Tomcat + IE + pragma tag

2004-02-10 Thread Mark W. Webb
Does anyone know why IE will not allow a file download from tomcat (and maybe other sources) when the connection is over SSL and the pragma HTTP Header tag is set to no-cache? I have been experiencing this and am puzzled as to why this is happening. If I set the pragma tag to no-cache, blah,

Running tomcat 5.18 as a service under Windows 2003

2004-02-10 Thread Brian . Scott
Hello friends. I'm experiencing an issue wherein if we run Tomcat 5 as a service in windows 2003 there are times when you cannot restart the service through the service manager. It dies at stop time and the services panel will forever report the status of the service as 'stopping'.

RE: Running tomcat 5.18 as a service under Windows 2003

2004-02-10 Thread Shapira, Yoav
Howdy, Does it only happen when running as a service? Yoav Shapira Millennium ChemInformatics -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 1:51 PM To: [EMAIL PROTECTED] Subject: Running tomcat 5.18 as a service under Windows 2003

Re: done did not found a worker

2004-02-10 Thread Nicholas Bernstein
On Mon, 2004-02-09 at 23:32, David Rees wrote: Nicholas Bernstein wrote, On 2/9/2004 6:26 PM: if you've got a minute, take a look @ the configs I posted http://nicholasbernstein.com/tomcat/ and let me know if you see anything wrong with the setup. I'd rather stick to apache2; i'm

URL Rewrite - Please Help

2004-02-10 Thread Apahce Tomact
Hi, I am Using HTTPSession to store the user_id and session_id to validate the session. I want to make web site should work even if client browser disables the cookies (Does not allow the cookies). For this I am using URLRewrite i.e.. appending jsessionid in to the URL in the form tag.

Re: done did not found a worker

2004-02-10 Thread Nicholas Bernstein
On Mon, 2004-02-09 at 20:23, David OBrien wrote: At 09:26 PM 2/9/2004, Nicholas Bernstein wrote: On Mon, 2004-02-09 at 17:37, David Rees wrote: On Mon, February 9, 2004 at 4:41 pm, Charles Daniel wrote: Give up trying to use Apache2 with mod_jk. After spending days on the message

RE: Running tomcat 5.18 as a service under Windows 2003

2004-02-10 Thread Brian . Scott
Hi Yoav - We only experience this problem when running as a service. Brian Scott Web Application Specialist NCGi 850.219.5159 (Mainline Office) 850.891.8066 (City of Tallahassee Office) 850.322.2410 (Cellular)

Re: done did not found a worker

2004-02-10 Thread David O'Brien
At 02:24 PM 2/10/2004, you wrote: On Mon, 2004-02-09 at 20:23, David OBrien wrote: At 09:26 PM 2/9/2004, Nicholas Bernstein wrote: On Mon, 2004-02-09 at 17:37, David Rees wrote: On Mon, February 9, 2004 at 4:41 pm, Charles Daniel wrote: Give up trying to use Apache2 with mod_jk.

tldCache.ser

2004-02-10 Thread Pete Stokes
Hi. What is this file / what does it do ? Thanks, Pete. *** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If

Re: done did not found a worker

2004-02-10 Thread Nicholas Bernstein
Service name=Tomcat-Standalone Connector className=org.apache.ajp.tomcat4.Ajp13Connector port=8009 minProcessors=50 maxProcessors=75 acceptCount=25 buffersize=16384 debug=0/ Engine name=Standalone defaultHost=localhost debug=0 jvmRoute=test01

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Hi, Yoav, error-page error-code404/error-code location/jsp/notfound.jsp/location /error-page How can I change the way the notfound.jsp is invoked so that the type of 404 error is ignored? I don't understand the question. If you don't want notfound.jsp to be invoked for 404

Re: done did not found a worker

2004-02-10 Thread Nicholas Bernstein
On Mon, 2004-02-09 at 23:48, David Rees wrote: Dwayne Ghant wrote, On 2/9/2004 7:02 PM: Dave, I have been having semular issues would it be impossible for to post the four files listed below: 1. http.conf 2. ssl.conf 3. server.xml 4. workers2.properties Here's a sample for

RE: tldCache.ser

2004-02-10 Thread Shapira, Yoav
Howdy, What is this file / what does it do ? It's a performance-oriented enhancement file, preventing rescanning of certain files for TLDs (JSP tag library descriptors). Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain

Starting tomcat when the DB is down

2004-02-10 Thread Bill Faulk
Hi Folks, I am using SQL Server 2000 via the JDBC realm with forms authentication. If the database is down when tomcat starts there is an unhandled LifecycleException generated and tomcat quits. I have the code in place in my login.jsp to generate a please try again later style message (or

Tomcat, Apache, JK/JK2, mod_backhand

2004-02-10 Thread Pete Stokes
I'm currently playing about with the above bits, and mod_backhand needs Apache 1.x, so I'm wondering if any1 can save me a little time by telling me if I'm using Apache 1.3.x with Tomcat 5.0.18, which is the best connector to use, jk / jk2 for a production environment ? The jk docco on jakarta

Re: Starting tomcat when the DB is down

2004-02-10 Thread Tim Funk
Which version? I thought 4.1.30 was patched to allow tomcat to start up even if the database realm connect failed. -Tim Bill Faulk wrote: Hi Folks, I am using SQL Server 2000 via the JDBC realm with forms authentication. If the database is down when tomcat starts there is an unhandled

RE: IIS + Tomcat + Beans

2004-02-10 Thread nrapagnani
I'll give that a try, thanks. -Original Message- From: Krell, Andrew [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 1:08 PM To: 'Tomcat Users List' Subject: RE: IIS + Tomcat + Beans -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday,

RE: Tomcat, Apache, JK/JK2, mod_backhand

2004-02-10 Thread Krell, Andrew
This is the link to the Jakarta FAQ that answers the question which connector should I use? http://jakarta.apache.org/tomcat/faq/connectors.html#vs Good luck -Andrew -Original Message- From: Pete Stokes [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 3:06 PM To: Tomcat Users

RE: Weird Problems

2004-02-10 Thread Mike Curwen
There aren't any 'subtypes' of 404, and there is no way for a request to be 404 at one point in its life, and then finally a 200. To avoid the 404 you're seeing, why not put a favicon.ico gif image in the root of the web directory? It can be a transparent gif. It's an annoyance, courtesy of

RE: Starting tomcat when the DB is down

2004-02-10 Thread Bill Faulk
Hi Tim, Sorry, I forgot to mention I'm running 4.1.29. I didn't see 4.1.30 on the Tomcat downloads page but I do see a 4.1.30-alpha dated 25-Jan-2004 on the downloads site. Also, I need to continue this in Tomcat-4 for now rather than 5. I'll be moving to production soon so I'm a bit leery of

  1   2   >