IIS 5.0 Tomcat4.0.3 on different machines?? HowTo??

2002-05-17 Thread staginfo-ar
IIS Tomcat runs good when they are on the same machine. I can run jsp, servlets ... and IsapiRedirector is good. But I want to pass IIs on an other computer (located on the LAN). How can I do that?? When I install Isapi Redirect the arrow is red. When I create virtual directories (which are

Réf. : How can I redirect only JSP pages to Tomcat?

2002-05-17 Thread staginfo-ar
I have the same problem. You can try to add :forwardAll=false noRoot=false in the IIS listener of your context in server.xml I've seen in tomcat doc this manip permits to redirect only Jspservlets but it doesn't work for me. Good luck! Jc ps: Do you know how can I put IIs tomcat

problem with connector mod_jk

2002-05-17 Thread David Janssens
I'm unable to compile a new workable mod_jk.so for apache2 What about apache crash when I load module mod_jk.so? It come about 1 week I work on that problem I tried so many solution ... -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL

R: Ref. : How can I redirect only JSP pages to Tomcat?

2002-05-17 Thread Luca Ventura
ThanksI will try you solution but I hope someone else has already solved this problem:-) Sorry..but I don't know how to put IIS and tomcat on different machine: I am curious to know how to do too! :-( Regards, Luca -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL

How can I redirect only JSP pages to Tomcat?

2002-05-17 Thread Luca Ventura
Hello everybody! I have installed Tomcat 4 as servlet/JSP container fo IIS 5 but I haven't understood how to redirect to Tomcat only requests for JSP pages or servlets. I have found only the way to redirect entire sites but I would like to redirect only JSP pages and servlets and not html

RE: Conncurency issue with tomcat???

2002-05-17 Thread Ghorpade, Rajendra
Hi Peter, your connector settings are the default. Since you didn't include answers to the other questions, I am assuming neither does the servlet, jsp or client set the timeout. by the way, the connectionTimeout isn't the session time-out value. Thats true!! But I had not included the

Re: IIS 5.0 Tomcat4.0.3 on different machines?? HowTo??

2002-05-17 Thread Elizabeth Barham
I was wondering how to go about doing this myself and found it mentioned on jguru's tomcat faq: http://www.jguru.com/faq/home.jsp?topic=Tomcat It was a few pages over, though. I do not have a IIS machine and have not tried this, but from my understanding, when Tomcat and IIS are running on the

Customize my error page in Servlet

2002-05-17 Thread Vaneet Sharma
Hi friends I would like to customize my error page i meant .. i would like that if any error comes to my application.. it should be directed to a page where i tell the user about the error . I am using Tomcat 4.0.2 and with Velocity. i am using MVC architecture model on linux. chao

Re: configuration problems

2002-05-17 Thread steven shingler
hello Dave are you serving off port 8080 - or warping to port 80?? there's a good tutorial on http://developer.apple.com/internet/macosx/tomcat1.html try going through that and see if you've got a typo in server.xml or web.xml or put a snippet of those files up here hope that helps cheers steven

IIS tomcat on != machines ?

2002-05-17 Thread staginfo-ar
IIS Tomcat runs good when they are on the same machine. I can run jsp, servlets ... and IsapiRedirector is good. But I want to pass IIs on an other computer (located on the LAN). How can I do that?? When I install Isapi Redirect the arrow is red. When I create virtual directories (which are

RE: [REPOST]: mod_jk: ajp13: cpu load problem with apache

2002-05-17 Thread Vaneet Sharma
I would suggest you to recheck the Tomcat-Apache installation procedure .. search on internet the right procedure... i think there is a loop hole while installing man if possible do again and see chao vaneet -Original Message- From: Cammy Ng [mailto:[EMAIL PROTECTED]] Sent:

RE: JkMount + Alias

2002-05-17 Thread Pablo Schor
- Original Message - From: Pablo Schor [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, May 14, 2002 1:29 PM Subject: JkMount + Alias I've installed Tomcat 4.0.3 and Apache 1.3.24 in two different boxes with Win2000. Jsp and static objects are in the same directory. I want

Receipt of 17/05/102 03:28 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 20:16 message

2002-05-17 Thread Andrew . Bate
Re:Making progress..Tomcat now started - still getting 500 S... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 19:42 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 17:27 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 17:37 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 17:25 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 17:16 message

2002-05-17 Thread Andrew . Bate
Re:Re: I'm getting no responses to my requests for help on t... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

Receipt of 16/05/102 15:30 message

2002-05-17 Thread Andrew . Bate
Re:I'm getting no responses to my requests for help on this ... ** This message has been sent via the Internet. Internet communications are not secure against interception or modification. Severn Trent Systems

RE: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Stuart Stephen
Can you please turn these off. SS. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 11:19 To: Tomcat Users List Subject: Receipt of 16/05/102 17:27 message Re:Re: I'm getting no responses to my requests for help on t...

RE: Receipt of 16/05/102 17:16 message

2002-05-17 Thread t . riteshmenon
What is the meaning of sending such blank messages - are you testing ur exchange server??? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 3:49 PM To: Tomcat Users List Subject: Receipt of 16/05/102 17:16 message Re:Re: I'm getting no

customize error page ini Servlet

2002-05-17 Thread Vaneet Sharma
Dear friends can anyone tell me how to customize error page in Servlet. when an error comes in my application, i want the user to redirected to my error page displaying the error. i am using velocity with Servlets on Tomcat 4.0.2 with JDK1.3 -Original Message- From: Luca Ventura

User LogIn/LogOut

2002-05-17 Thread RamNivas
Dear All, I am having Tomcat Running on WinNT4.0. i want to track the user loggins and logouts time for inserrting in database.Using jsp how can i track the time user closes the browser or logout . i tried using JSP distroy method . but i'm having some troubles with htat can someone send me a

RE: customize error page ini Servlet

2002-05-17 Thread Vaneet Sharma
-Original Message- From: Vaneet Sharma [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 12:27 To: 'Tomcat Users List' Subject: customize error page ini Servlet Dear friends can anyone tell me how to customize error page in Servlet. when an error comes in my application, i want the

running JSP with Javabeans

2002-05-17 Thread juan jose amador
Hi, Yesterday I sent a problem running JSP with javabeans.I can run JSP without problem but not with javaBeans and i Know the java files are well built. The answer I received was to make a package but it does not work. The structure of my directories is: WEBAPPS

RE: running JSP with Javabeans

2002-05-17 Thread Vaneet Sharma
make a folder called whatever in classes under webapps and on your jsp import that with package and then instantiate the constructor of bean or call a method to check -Original Message- From: juan jose amador [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 12:41 To: Tomcat Users

Calling ejbs from tomcat

2002-05-17 Thread Drinkwater, GJ (Glen)
Hi, i have been using and working with ejbs from a java client calling ejbs from the server that comes with the j2ee package . But now i wish to call the ejbs from a servlet within tomcat. I have put all the jar files for the client that is needed it to the lib dir of my web application but i

Re: User LogIn/LogOut

2002-05-17 Thread Paul Balanoiu
HTTP is a request-based protocol. This means that you cannot detect if the user just closes the browser. You can do one of the following: 1. Set the Session expiration time to a custom value (usualy is set to 30 min.) This value is the maximum precision you get for detecting user logout. Don't

RE: User LogIn/LogOut

2002-05-17 Thread RamNivas
Dear Paul Balanoiu Thanks a lot, This is really very use full for me :) Cheers Ram -Original Message- From: Paul Balanoiu [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 17, 2001 4:35 PM To: Tomcat Users List Subject: Re: User LogIn/LogOut HTTP is a request-based protocol. This means

Re: customize error page ini Servlet

2002-05-17 Thread Paul Balanoiu
1. If you intend to use custom error pages for errors that are generated by tomcat (page not found for example), in the XML descriptor of the web application you can add tags like this one: error-page error-code404/error-code locationErrorPage.jsp/location /error-page 2. If you want

Re[2]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Andrew . Bate
The problem stems from whoever sent the original email on this subject as they must have put a 'receipt' request on the email they sent. Our ccMail is just returning that receipt when the mail is picked up here. I can't switch it off and anyway our server is technically doing the right thing.

Code Sample For -: running JSP with Javabeans

2002-05-17 Thread Vishal
Hi Juanjo ... to use java beans with Jsp's u just have to put all u'r java beans that r nothing but the class files within u'r classes floder if u'r using some pakage then u can put u'r java beans in that package under the classes floder of the Tomcat ... u have to call that Java bean

Re: Conncurency issue with tomcat???

2002-05-17 Thread peter lin
there's the default web.xml and your webapp web.xml file right :) so if it's not specified in your webapp, then it's the default one in the configuration directory. Do the duplicate session occur before 30 minutes or after? Assuming the session timeout is set to the default. peter Ghorpade,

Re: Concurrent Accesses

2002-05-17 Thread peter lin
That seems a bit odd. have you reproduced this on more than one system? and more than one server? I typically will run benchmarks on atleast two different systems using a third machine as the client to make sure the numbers are an accurate reflection of the performance. Try doing the same

RE: Conncurency issue with tomcat???

2002-05-17 Thread Ghorpade, Rajendra
its before 30 minutes. Cause the test takes around 10-15 minutes to complete. Raj -Original Message- From: peter lin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 1:45 PM To: Tomcat Users List Subject: Re: Conncurency issue with tomcat??? there's the default web.xml and your

Re: Re[2]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Paul Balanoiu
You are right, no receipt requests should be sent to a list of users. Still, you are (or your server is) sending the receipt not to the one that requested it, but to the entire list (which appears only in the to field of the message). This is not right (and it's annoying for all the other users).

RE: customize error page ini Servlet

2002-05-17 Thread Vaneet Sharma
paul i am using servlets.. so tell me something i can put in my servlet code thankx -Original Message- From: Paul Balanoiu [mailto:[EMAIL PROTECTED]] Sent: 17 May 2001 13:18 To: Tomcat Users List Subject: Re: customize error page ini Servlet 1. If you intend to use custom error

RE: PAUL ...customize error page ini Servlet

2002-05-17 Thread Vaneet Sharma
i am using servlets .. can you tell me the code .. how to do in servlets chao -Original Message- From: Paul Balanoiu [mailto:[EMAIL PROTECTED]] Sent: 17 May 2001 13:18 To: Tomcat Users List Subject: Re: customize error page ini Servlet 1. If you intend to use custom error pages for

Re[4]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Andrew . Bate
Paul Balanoiu [EMAIL PROTECTED]) wrote: You are right, no receipt requests should be sent to a list of users. Still, you are (or your server is) sending the receipt not to the one that requested it, but to the entire list (which appears only in the to field of the

Re: Re[4]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Martin van den Bemt
If a mail server doesn't know anything about mailinglists, it will send the receipt to the list indeed.. So the problem is yours to solve. Since those request for receipts for mails is pretty annoying, I will try to figure out how to strip out the receipt requests from the mails send to a

Where must I put the code of my application?

2002-05-17 Thread Luca Ventura
Hello! I have installed Tomcat 4 as servlet/jsp container and IIS as Web Server. I developed a Web application and I want to put it not in /webapps/examples folder of Tomcat but in another folder, for example /webapps/myproject. The problem is that when I try to connect to it IIS redirects

Re: PAUL ...customize error page ini Servlet

2002-05-17 Thread Paul Balanoiu
In the request (javax.servlet.request) you have the following method: public RequestDispatcher getRequestDispatcher(java.lang.String path) where you specify the new path. With the RequestDispatcher you can do the forwarding. Simply call the public void forward(ServletRequest request,

Re: Re[2]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Phil Shrimpton
On Thursday 17 May 2001 11:55, you wrote: Hi, Still, you are (or your server is) sending the receipt not to the one that requested it, but to the entire list (which appears only in the to field of the message). This is not right (and it's annoying for all the other users). Try to set your

RE: Where must I put the code of my application?

2002-05-17 Thread John Niven
-Original Message- From: Luca Ventura [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 12:42 To: tomcat-user; tomcat-dev Subject: Where must I put the code of my application? Hello! I have installed Tomcat 4 as servlet/jsp container and IIS as Web Server. I developed a Web

Re: Re[2]: Receipt of 16/05/102 17:27 message

2002-05-17 Thread Paul Balanoiu
The reply-to field is optional (usualy it's not present). the from field is imperative. And I don't think the behavior of Andrew Bate's mail server is normal (from all the mail servers which host the users of the list, his was the only one with that problem, and this means a very low percentage

Re: configuration problems

2002-05-17 Thread Vishal
hi dave just try putting a JSP with the following code in u'r Root Folder ... and run it on the browser http://localhost:8080/Test.jsp just save the following code as Test.jsp in u'r root folder : html head titleNew Page 1/title /head %@ page language=java

Re: Making progress..Tomcat now started - still getting 500 Status

2002-05-17 Thread Vishal
Hi gary .. i think for this problem u need to include the tools.jar file in u'r class path !! try including that if u haven't and then we can see what else can be done if it still doesn't work vishal - Original Message - From: Gary Frick [EMAIL PROTECTED] To: Tomcat Users List [EMAIL

Re: Website for Tomcat/Apache Integration...

2002-05-17 Thread @Basebeans.com
Subject: Re: Website for Tomcat/Apache Integration... From: Bruno V [EMAIL PROTECTED] === I tried to search for guides and howto to install Tomcat and Apache WITH a WARP connector (mod_webapp) or mod_jk I will try to keep it up to date on

Re: customize error page ini Servlet

2002-05-17 Thread rsequeira
error-page exception-type name of Exception /exception-type location exceptionhandler.html /location /error-page RS Vaneet Sharma [EMAIL PROTECTED] on 05/17/2002 05:27:10 AM Please respond to Tomcat Users List [EMAIL PROTECTED] To:'Tomcat Users List' [EMAIL PROTECTED]

RE: customize error page ini Servlet

2002-05-17 Thread John Niven
-Original Message- From: Vaneet Sharma [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 13:16 To: 'Tomcat Users List' Subject: RE: customize error page ini Servlet paul i am using servlets.. so tell me something i can put in my servlet code thankx Vaneet try { ... }

Re: Where must I put the code of my application?

2002-05-17 Thread rsequeira
Check the logs. The webapps/myproject web application might not have been deployed. Can you execute any servlets/jsps under webapps/examples? The Context entry should be something like this: Context path=/myproject docBase=myproject debug=0 reloadable=false crossContext=false assuming the

Re: Making progress..Tomcat now started - still getting 500 Status

2002-05-17 Thread Jacob Kjome
you need to put $JAVA_HOME/lib/tools.jar in your classpath. Jake At 06:24 PM 5/17/2002 +0530, you wrote: Hi gary .. i think for this problem u need to include the tools.jar file in u'r class path !! try including that if u haven't and then we can see what else can be done if it still doesn't

An apology to all and a big Thanks.

2002-05-17 Thread Gary Frick
Hi All, First I want to sincerely apologize for the 'read receipt' notification. I had turned in on for another particular individual and turn then turned it off. It obviously did not disable properly. So all my subsequent messages were also requesting it. After a couple polite messages, it

which version ?

2002-05-17 Thread Jayanta Gauchan
which version of tomcat would you recommend - apache tomcat 4.0.3 or apache tomcat 4.1 ? i would appreciate any help thanks --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002

Re: which version ?

2002-05-17 Thread Paul Balanoiu
4.1 - Original Message - From: Jayanta Gauchan [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Friday, May 17, 2002 5:09 PM Subject: which version ? which version of tomcat would you recommend - apache tomcat 4.0.3 or apache tomcat 4.1 ? i would appreciate any help

RE: which version ?

2002-05-17 Thread John Niven
-Original Message- From: Paul Balanoiu [mailto:[EMAIL PROTECTED]] Sent: 17 May 2001 15:03 To: Tomcat Users List Subject: Re: which version ? 4.1 Paul Just out of curiosity, *why*? At the moment, I'd be too wary to use 4.1 for production, though I've been using it for dev for

Where is catalina-ant.jar file?

2002-05-17 Thread Alex Colic
Hi, I am going through the build instructions online and they refer to catalina-ant.jar. I checked my install of tomcat 4.03 and I do not have that file. Any idea where I can get it? Thanks Alex -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail:

RE: How do I set env. variables for a Tomcat service?

2002-05-17 Thread Plough, Chris
Thanks for the suggestion, but this didn't work in my case. The Oracle servlet (RWSerlet) has a showenv function - but it didn't pick up any parameters that were set in web.xml. Any other suggestions? Thanks, Chris -Original Message- From: chas [mailto:[EMAIL PROTECTED]] Sent:

mod_jk, apache 1.3 - tomcat 3.2.4?

2002-05-17 Thread Rich Baldwin
I have set up both tomcat 3.2.4 and apache 1.3. Both test pages come up ok. But... when I try to bring up the tomcat example servlets via the apache port. I get the following error: Forbidden You don't have permission to access /examples/servlets/index.html on this server. Apache/1.3.22

RE: Stdout and Stderr

2002-05-17 Thread Jeff Macomber
Generally these messages are in catalina.out or localhost_log... Jeff -Original Message- From: Wagner Danda [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 16, 2002 7:52 PM To: Tomcat Users List Subject: Stdout and Stderr Hello, in tomcat 4, where can I get the stderr and the

RE: mod_jk, apache 1.3 - tomcat 3.2.4?

2002-05-17 Thread Brandon Cruz
What operating system are you on? If you are on a linux system, you need to make sure that all the folders are executable from / all the way to servlet. Brandon -Original Message- From: Rich Baldwin [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:27 AM To: Tomcat Users List

Re: which version ?

2002-05-17 Thread Paul Balanoiu
It's not about using Tomcat 4.0.3 or 4.1. I always preffer to develop with the latest version of the product (no matter which). Even more, I try to port (if there are any changes) my code to the latest version as soon as possible. This way I prevent future problems (it's easier to require a newer

RE: Where is catalina-ant.jar file?

2002-05-17 Thread John Niven
-Original Message- From: Alex Colic [mailto:[EMAIL PROTECTED]] Sent: 17 May 2002 15:29 To: Tomcat Subject: Where is catalina-ant.jar file? Hi, I am going through the build instructions online and they refer to catalina-ant.jar. I checked my install of tomcat 4.03 and I

uploading files software

2002-05-17 Thread pascal GEND
Hello, I'm using a package I found over the internet 2 years later and permitting upload of files through a POST on a java servlet. But it doesn't work correctly with data files bigger than 1 megabyte. Has anyone such a package (I use j2sdk 1.4) or where can I find it? thanks Pascal

R: Where must I put the code of my application?

2002-05-17 Thread Luca Ventura
Thanks, I solved my problem: I checked the logs and my application hadn't been deployed for some errorsnow I fied them and all works fine! Thanks a lot! Luca -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Inviato: venerdi 17 maggio 2002 15.31 A: Tomcat

RE: uploading files software

2002-05-17 Thread Scott Purcell
Check out the O'Reilly site or servlets.com. They have a multipart parser that does uploading, and handles anysize upload. Scott -Original Message- From: pascal GEND [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:07 AM To: [EMAIL PROTECTED] Subject: uploading files software

RE: uploading files software

2002-05-17 Thread Geoff Peters
If you are referring to the com.oreilly package I have used it successfully for a personal application, it works quite well, I'm not sure of any file size restriction though Problems with multi file upload though, as you need to have multiple File controls on your HTML form (i.e. 3

Re: User LogIn/LogOut

2002-05-17 Thread Joaquín Sánchez Jiménez
Hi: You can detect browser is closing just using onUnload tag in body. Just do this: function doLogout() { document.formLogout.action='logout.jsp'; document.formLogout.formOption.value='logout'; document.formLogout.submit(); } body onUnload=doLogout(); ... here comes

Guide on Integrating Tomcat 4.x with Apache Web Server

2002-05-17 Thread Shibo Zheng
Dear all, Could you please help and point me to the user guide for Integrating Tomcat 4.x with Apache Web Server? I have searched the Jakarta site for nearly two days now, the only related documents found are Tomcat-Apache Howto for Tomcat 3.2 and Tomcat - A Minimalistic User's Guide for Tomcat

Custom scheme based URL's not working in Tomcat 3, 4

2002-05-17 Thread Remus Pereni
Hi, I have an application which use some customized scheme based URL's (like jabber:/, ...). The code is implemented following the description from the JDK API URL#URL by providing a custom package with the protocol and an URLStreamHandler and by setting the java.protocol.handler.pkgs system

Re: List all session objects?

2002-05-17 Thread Larry Meadors
I will go one better: app scope and session scope, and you can remove them too. ;-) Larry === !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN html head titleApplication attributes/title /head body % String remObjName = request.getParameter(remObjName); if(null != remObjName

Re[2]: User LogIn/LogOut

2002-05-17 Thread Jacob Kjome
Hello Joaquín, This is a nice thought, but I can disable it by turning off javascript or using a browser that doesn't even support javascript. Javascript is to be used for functional enhancements. It shouldn't be used as a backstop for error handling or any other function that you need to

Re: mod_jk, apache 1.3 - tomcat 3.2.4?

2002-05-17 Thread Rich Baldwin
The OS is linux. All directory and file permissions are set to executable. I built the mod_jk.so from jakarta-tomcat-3.3/native/.. Read that you could do that and use it w/ 3.2.4., and I'm not insane. ESRI's ArcIMS is benchmarked w/ TC3.2. Thanks, Rich Brandon Cruz wrote: What operating

RE: User LogIn/LogOut

2002-05-17 Thread Jacob Hookom
You could put an object in the session and in its finalize, it calls a static method on another object that is the 'logger' in this case, sending the user's UID. -Original Message- From: RamNivas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 5:35 AM To: [EMAIL PROTECTED]

reloadable=true not working--- problems with reloading servlets

2002-05-17 Thread Ray Letts
Hello all. Hmm heard this was a problem in Tomcat 3 but we're running a fresh Tomcat 4.03 integrated with Apache HTTP Server Version 1.3 I've set the reloadable to be true in the server.xml, restarted Tomcat but it doesn't seem to be reloading. Is this still a bug in 4.03? I've tried

RE: PAUL ...customize error page ini Servlet

2002-05-17 Thread Jacob Hookom
Since you want to only setup your error pages once in the XML, on the servlet you can do (I believe) HttpServletResponse.sendError( int ); HttpServletResponse.sendError( HttpServletResponse.SC_FORBIDDEN ); And it will automatically forward to the appropriate pre-configured 404, 405, etc error

RE: reloadable=true not working--- problems with reloading servlets

2002-05-17 Thread Sefton, Adam
I've found this to be true on occassions, but I've never found out any reason why. If you restart your app using the manager application, then it seems to reload it properly. Manager application runs from the URL, details can be found here:

Re: reloadable=true not working--- problems with reloading servl ets

2002-05-17 Thread Ray Letts
Yes the manager app will restart and the Tomcat will reload but I want Tomcat to detect newly compiled class files and reload without restarting, whether via the command line or via the manager web app. This will avoid developers asking each other if they can 'restart' Tomcat while working

RE: Tomcat 3.3.1 and additionalJars

2002-05-17 Thread Mario Felarca
From: Larry Isaacs [EMAIL PROTECTED] Date: Thu, 16 May 2002 14:09:12 -0400 What did you set the additionalJars attribute to and where did you put the jdom.jar? Larry The additionalJars attribute I tried setting to a couple of different things. One was an absolute path with the jdom.jar

RE: Where is catalina-ant.jar file?

2002-05-17 Thread Craig R. McClanahan
On Fri, 17 May 2002, John Niven wrote: Date: Fri, 17 May 2002 15:36:13 +0100 From: John Niven [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Where is catalina-ant.jar file? -Original Message- From: Alex

RE: Tomcat 3.3.1 and additionalJars

2002-05-17 Thread Larry Isaacs
Both of those should work. There could be some classloader issue involved. Can you provide a test case of what you are trying to do? Cheers, Larry -Original Message- From: Mario Felarca [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 12:09 PM To: TomcatUser Subject: RE:

Re: reloadable=true not working--- problems with reloading servl ets

2002-05-17 Thread TMotte
Just my two cents, but I never have developers work on the same server instance. You can run multiple tomcat instances on the same server, or you can run one on each developer workstation (what I usually do). The whole reason I'm using tomcat is because it's free and lightweight enough to deploy

Re: Where is catalina-ant.jar file?

2002-05-17 Thread Emerson Cargnin - MSA
i'm using reload task of catalina-ant.jar and doing the context deletion and unwar through ant tasks (before reloading, of course). Beyond that, i use Ant 1.5b new element Condition-http so I can see if tomcat is started, otherwise you will get a error when trying to reload tomcat. here goes

Tomcat 4.03

2002-05-17 Thread puneet sachar
Hi , thanx a lot for ur suppport Actually i was using tomcat for a while, but i always use to get things ready made for me , now i want to do administration myself .. Tell me 1) I have set TOMCAT_HOME as d:\TOMCAT4.0 (the directory where i have installed tomcat and added the jar files in

I'm an newby to Tomcat 4.0.1.... Using it on Mac OSX/Apache2 -Can't get jsp and servlet exmples to work

2002-05-17 Thread David Colwell
I¹ve installed tomcat4.0.1 (tried 4.0.3 too), and have everything set correctly to get the page to display confirmation of setup when I browse to ³localhost:8080². My problem is that when I click the link for either the JSP or Servlet examples I get a page that says... Apache Tomcat/4.0.1 -

exception management with beans and Jsps

2002-05-17 Thread Adam Pfeiffer
Does anyone know where I can find a good doc on how to handle exception with JSP and beans. I would really like the bean to trap all the errors and set the messages and send those back to the jsp. I am not sure how to do this. I am still new with catching exceptions, so if my question

RE: reloadable=true not working--- problems with reloading servl ets

2002-05-17 Thread Bing Zhang
I have same problem, even reload through manager does not reload the servlet class, but it will automatically pick up jsp timestamp. Everytime, I change servlet, I have to restart tomcat, what a pain Bing -Original Message- From: Ray Letts To: Tomcat Users List Sent: 5/17/02 8:59

RE: Heap size (or something) [correction!]

2002-05-17 Thread TMotte
i deleted the message, but somebody was asking about how to specify heap size in the params to tomcat, and i said you could probably pass such as a param to startup.bat/startup.sh - not true. command line arguments are passed through to the actual tomcat invocation, but *after* the classname,

Re: exception management with beans and Jsps

2002-05-17 Thread Phillip Morelock
generally you should be using as few exceptions as possible...because they are very expensive. But if the API's you are using throw exceptions, and such, you should definitely catch them at the bean level, and return negative or false values to the jsp or whatever, and just use simple

cannot resolve symbol, session vars lost etc =p

2002-05-17 Thread Richard Diaz
I'm using tomcat 4.0 on apache 1.3.20 on windows 98. Well i was losing all my session variables and FINALLY found this article: http://www.jguru.com/faq/view.jsp?EID=816599 so i changed all my response.sendRedirect() methods to response.encodeRedirectURL() but those failed to actually move

RE: Code Sample For -: running JSP with Javabeans

2002-05-17 Thread sbattul
Hi Vishal and Juan, I had the same problem Juan now has. My code worked when I included my class file in a Package and made no other changes. I changed : jsp:useBean id=ClassFileName scope=page class=ClassFileName to : jsp:useBean id=ClassFileName scope=page

Re: [REPOST]: mod_jk: ajp13: cpu load problem with apache

2002-05-17 Thread Cammy Ng
Hi, I am sorry that I don't understand what you mean about a loop hole??, my setting is apache on machine1, first tomcat on machine2, second tomcat on machine3, mod_jk ajp13 is install on apache to do the load balancing. After certain time on running, apache will use up 100% CPU time, if I just

tomcat service not accessing DSNs

2002-05-17 Thread Schiza, Apostolia (ISS Atlanta)
Hello, I am working Win2k Server, and I have tomcat running as a service, from LocalSystem Account. I have created System Data Sources on windows to get to Databases residing remotely (I have actually created permanent mapped drives to those machines, so that I will specify the DB path in the

Re: tomcat service not accessing DSNs

2002-05-17 Thread Cammy Ng
Hi, I believe your access database cannot located on a remote machine because on security reason, even you map a permanent drive to the machine. Which mean it is not tomcat problem, even any asp, php will not work this way too. Check from Microsoft site. I read these article before. Thanks

multiple processor usage

2002-05-17 Thread Robert Walther
I am not confident that Tomcat 4.0 and J2SDK 1.4 are fully utilizing my dual processor, Linux Server, on which I have 2.4.9-3smp running. Anyone know if Tomcat 4 and J2SDK are multi-processor ready and is there a way to test or prove it? -- To unsubscribe, e-mail: mailto:[EMAIL

Re: exception management with beans and Jsps

2002-05-17 Thread Adam Pfeiffer
Thanks Phillip, That give me some good ideas to start with! --- Phillip Morelock [EMAIL PROTECTED] wrote: generally you should be using as few exceptions as possible...because they are very expensive. But if the API's you are using throw exceptions, and such, you should definitely catch

Form submit question when using frames

2002-05-17 Thread Adam Pfeiffer
This is an html question, but I figure a lot of you have run into this. I have a 2 frame page with a top and bottom frame. The top frame has a form with a drop down box in it. Is there a way for the form to post to the the bottom frame without reloading the frameset? Thanks for your help

Status of JK2

2002-05-17 Thread Anthony W. Marino
I'm now running TC4.1.2 and want to use mod_jk2/apache2 for the early stages of my project however I'm not certain what the issues are or when it might become production quality or what I see the empty download areas set up for the various connectors which I hope is an indication of

Re: Form submit question when using frames

2002-05-17 Thread Jacob Kjome
Hello Adam, I believe you just set the target of the form: form target=[target frame name here] Jake Friday, May 17, 2002, 3:31:59 PM, you wrote: AP This is an html question, but I figure a lot of you have run into this. I have a 2 frame page AP with a top and bottom frame. The top frame

  1   2   >