Re: Compile time EL type checking

2004-02-10 Thread d . wall
That's too bad, indeed. I wouldn't have figured that ELs were only evaluated at run time since they can certainly be converted into standard Java code as you pointed out. To lose the compile time checks and incur repeated performance hits to re-evaluate doesn't make much sense. Perhaps there

RE: Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

2004-02-10 Thread Anthony Gray
you should be able to compile from the mod_jk2 source using the following method : - cd /jk/native2/ - ./configure --with-apxs2= --with-apache= (ie ./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-apache=/usr/local/apache) - make - you should then find the mod_jk2.so in /jk/build/jk2/

Does anyone have successfully build mod_jk2 on RH9 with Tomcat 4.1.xx, please share

2004-02-10 Thread Phupha Punyapotasakul
I've spent so much time to compile mod_jk2 but not success. Is it possible to download build version from internet ? Please tell me where to download. My Machine === Linux RH9 + Tomcat4.1.27 (Apache Httpd is bundle with RH9) I can't compile because, httpd on RH9 don't have apxs2 Thank you

Re: Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman
Justin Ruthenbeck wrote: I haven't used the META-INF/context.xml convention, so I'm not too familiar with it. Conceptually, it's questionable whether a webapp should be able to modify container configuration ... even if it's just configuration for that one app. Practically it may be useful, bu

RE: Best practice question: where to place project libraries

2004-02-10 Thread Matt Raible
> -Original Message- > From: Josh Rehman [mailto:[EMAIL PROTECTED] > Sent: Tuesday, February 10, 2004 5:49 PM > > Thanks. You bring up an interesting aspect of container > configuration: > database drivers. It would be interesting to extend the > META-INF/context.xml tomcat convention

Re: Best practice question: where to place project libraries

2004-02-10 Thread Justin Ruthenbeck
At 04:49 PM 2/10/2004, you wrote: As a general rule, strive to keep your webapp self-contained and autonomous with only J2EE-standard dependencies (things like JNDI objects that are configurable in every container). Unless there's a reason not to (JDBC drivers is one common one), package your o

Re: Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman
Justin Ruthenbeck wrote: As a general rule, strive to keep your webapp self-contained and autonomous with only J2EE-standard dependencies (things like JNDI objects that are configurable in every container). Unless there's a reason not to (JDBC drivers is one common one), package your own dep

Re: Best practice question: where to place project libraries

2004-02-10 Thread Justin Ruthenbeck
Forgot to mention... At 04:36 PM 2/10/2004, you wrote: At 04:16 PM 2/10/2004, you wrote: I need servlet-api.jar to compile my project. I may need some of the commons-beans stuff in the future. Should I put these libs in my projects lib folder (and then in the war) or should I rely on the tomcat

Re: Best practice question: where to place project libraries

2004-02-10 Thread Justin Ruthenbeck
At 04:16 PM 2/10/2004, you wrote: I need servlet-api.jar to compile my project. I may need some of the commons-beans stuff in the future. Should I put these libs in my projects lib folder (and then in the war) or should I rely on the tomcat versions? If the latter, which jar will be used, and wh

Best practice question: where to place project libraries

2004-02-10 Thread Josh Rehman
I need servlet-api.jar to compile my project. I may need some of the commons-beans stuff in the future. Should I put these libs in my projects lib folder (and then in the war) or should I rely on the tomcat versions? If the latter, which jar will be used, and what should I do if I deploy to a d

tomcat 5 initiating jndi lookup to weblogic 8.1 / save my soul!

2004-02-10 Thread Brian . Scott
Hello friends. Can someone save my sanity? I have an application service which would like to communicate with weblogic 8.1 using JMS. If I include the wlcient.jar in my webapps/app name/lib/ directory, I get a cascade of errors on tomcat start up (strack trace below). If I do not include wlcli

Another Try at MySQL Connection Pooling

2004-02-10 Thread Merrill Cornish
I'm running * Tomcat 5.0.18 running as a Wndows service, * MySQL 4.0.16 running as a Windows service, and * MySQL Connector/J 3.0.10 stable all on Windows 2000 Server, which is where I'm also doing the testing (i.e., on localhost). A number of tomcat-user mailing list denizens have give

RE: Weird Problems

2004-02-10 Thread Subir Sengupta
Netscape uses the favicon.ico too -Original Message- From: Vernon Wu [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 10, 2004 2:02 PM To: Tomcat Users List Subject: RE: Weird Problems Hi, Mike, >There aren't any 'subtypes' of 404, and there is no way for a request >to be 404 at on

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Hi, Mike, >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 >annoyanc

Re: IIS + Tomcat + Beans

2004-02-10 Thread BAO RuiXian
[EMAIL PROTECTED] wrote: -Original Message- From: BAO RuiXian [mailto:[EMAIL PROTECTED] [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 hav

RE: Starting tomcat when the DB is down

2004-02-10 Thread Bill Faulk
Thanks for the replies! Copying catalina.jar from the 4.1.30 is a good idea if there's a problem. I guess most people just went to Tomcat 5 without trying the 4.1.30 build. I'll convert to 5 for the next release of my app. --- Bill Faulk -Original Message- From: Shapira, Yoav [mailto:[E

Re: Deployer problem

2004-02-10 Thread Mufaddal Khumri
JSP 2.0 has no .tld files any more. Neither do you need to edit your web.xml file. You need to copy your tags to WEB-INF/tags directory. x1.tag file, must reside in WEB-INF/tags The jsp pages will have the following change: <%@ taglib prefix="someTag" tagdir="/WEB-INF/tags" %> Hope this he

Re: Tomcat 5 and applet

2004-02-10 Thread BAO RuiXian
Vernon Wu wrote: Since an Applet runs on a client box, you first need to place the .class in a client accessible directory, not underWEB-INF. But he said the applet class is already in the IE cache dir, so obviously his applet is already in a place accessable to the browser. Best Bao --

Deployer problem

2004-02-10 Thread Chanan Braunstein
Hello, I am trying to use the client deployer to compile my web-app. There is not much help on the issue, and for someone like me that never used ant before it is hard to figure out what to do... However here is what I did so far: Download ant & tomcat 5 deployer. Copied the deployer lib

RE: Starting tomcat when the DB is down

2004-02-10 Thread Shapira, Yoav
Howdy, I don't think enough of us tested it well enough to vote. I'd be very very surprised if 4.1.30 is not a stable quality build. Yoav Shapira Millennium ChemInformatics >-Original Message- >From: Tim Funk [mailto:[EMAIL PROTECTED] >Sent: Tuesday, February 10, 2004 4:13 PM >To: Tomc

RE: Running tomcat 5.18 as a service under Windows 2003

2004-02-10 Thread Shapira, Yoav
Howdy, >No! Additional analysis reveals that if run by the command line, calling >shutdown will not always kill the window executing Tomcat. We do get a lot >of messages about how Catalina is shutting down, but the window will not go >away until I Ctrl-C inside of it. At that time, the window

Re: Starting tomcat when the DB is down

2004-02-10 Thread Tim Funk
4.1.30 went for a stable vote. I guess it didn't get enough +1's for a stable vote. I should be stable enough. Worst case, just rip out JDBCRealm.class from server/lib/catalina.jar (in 4.1.30) and place it into the server/classes dir (in the correct nested directory) -Tim Bill Faulk wrote: Hi

RE: Running tomcat 5.18 as a service under Windows 2003

2004-02-10 Thread Brian . Scott
Hi Yoav - No! Additional analysis reveals that if run by the command line, calling shutdown will not always kill the window executing Tomcat. We do get a lot of messages about how Catalina is shutting down, but the window will not go away until I Ctrl-C inside of it. At that time, the window g

Help!!!! regarding a simple jsp file in Tomcat 5.0.16

2004-02-10 Thread Avinash Sridhar
Hi, A simple JSP page is present in the "ROOT" directory under the sampleapp directory,which is not in the installation directory,i.e no way concerned with the TOMCAT installation directory. My question is 1) without changing the web.xml written by me (for execution of servlet files) Should we

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 any

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 ce

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: 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, Fe

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 Lifecycle

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 tel

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 whate

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 informati

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'

RE: Weird Problems

2004-02-10 Thread Vernon Wu
Hi, Yoav, >> >> 404 >> /jsp/notfound.jsp >> >> >>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 errors, don't declare the error-page in web.xm

Re: done did not found a worker

2004-02-10 Thread Nicholas Bernstein
> > > port="8009" minProcessors="50" maxProcessors="75" > acceptCount="25" buffersize="16384" debug="0"/> > jvmRoute="test01"> <-- HERE > > -Dave cool. I had that part configured correctly. -- +

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 you

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

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 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 th

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. Th

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 ap

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

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'. Ctl-Alt-Delet

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, bla

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 -

RE: Weird Problems

2004-02-10 Thread Shapira, Yoav
Howdy, > > 404 > /jsp/notfound.jsp > > >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 errors, don't declare the error-page in web.xml. Yoav Sh

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 "f

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: 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

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. Be

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: 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: Ö£½ðÔª <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: >How to deplay applet in tomcat ? >

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 btw, though the latest tomcat might support it better). I simply use this: http://java.sun.com/products/plug

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: 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. >

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 wa

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

RE: Tomcat Manager/Admin authentication

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

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 dele

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 to

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 us

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: 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 bel

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 ac

RE: Tomcat Manager/Admin authentication

2004-02-10 Thread Juan de Bravo
I think you can turn it off by deleting the 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 Manager/Admin authentication

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 ma

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 fo

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 file=104

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 the

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 zhengjinyu

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 a

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 to

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: 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 (y

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 coun

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("T

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 co

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 : AddModule mod_jk.c JkWorkersFile /home/tomcat/conf/workers.properties JkLogFile /etc/httpd/logs/mod_jk.log JkLogLevelinfo JkLogStampFormat "[%a %b %d %

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

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 connection

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: 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 indefinit

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: 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"

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: 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. 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 d

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 unix

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

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 only

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: validationQuery select getdate() maxWait 5000

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? And the context could look like Three questions: Where can I define the adress of my second web-application (www.adress2.com). Where can I define the Welcome-file for

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 httpd.l

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

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 and

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

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

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: 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: 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 logge

  1   2   >