Error: Tomcat v4.0 vs v4.1

2003-07-09 Thread Friza Taib
Hi, I have problem running the jsp in the Tomcat v4.0. Whereby everything is fine with v4.1. Below is the error message. What can cause the problem? Thanx if somebody can help. StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception org.apache.jasper.JasperException: U

Re: Relative URL problem

2003-07-09 Thread Bill Barker
"White, Joshua A (HTSC, CASD)" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > > Is this a server.xml or web.xml option? Where should I be looking? If > tomcat does a redirect to http://localhost:8080/myapp/, should I then see > this in the browser? Yes, you should. Since

RE: session expiry

2003-07-09 Thread Krause Karin
Hi Paul, Session timeout can be configured in the deployment descriptor of your servlet (web.xml). see servlet spec 2.3 "the session-timeout element defines the default session timeout interval for all sessions created in this web application. The specified timeout must be expressed in a whole num

Re: error in startup of embedded tomcat

2003-07-09 Thread Bill Barker
AFAIK, using Embedded requires that you set up all of Tomcat yourself. I suppose that it would be possible to create the Server, and feed it 'server.xml', but that would really defeat the purpose ;-). <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I get the following errors in sysl

Pb with webapp admin

2003-07-09 Thread Yannick Monclin
Hi, i use a tomcat 4.1.18 on a Linux RedHat 7.3 All my directories "images" are a linux link in my webapp, so i have put this on my server xml betwen the two tag "context" so it's work, but when i use the webapp admin in order to change some other parameters and when i commit, tomcat delete t

Re: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les?

2003-07-09 Thread Bill Barker
Personally, I prefer jakarta-commons/fileupload for this type of thing. The ASF licence is much more commercial-friendly than the Oreilly licence, and it is much easier to configure (at least IMHO). "Jose Euclides da Silva Junior - DATAPREVRJ" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROT

RE: session expiry

2003-07-09 Thread Paul Wallace
Thank you for that. And where is the length of default session expiry defined? How do I configure session life span for TC? Thanks Paul. > > > > public void close() { > > session.inValidate(); > > // kill my session here > > > > } > > or failing that, how do I define a le

Configuring tomcat to use seperate conf/server.xml files

2003-07-09 Thread Owen Fellows
Hi, I'm trying to configure multiple instances of the same tomcat. I want to have one tomcat and one webapp but multiple server.xml files (distinct datasourve per application). Is this possible in tomcat 4.1.12. I've tried setting CATALINA_HOME to the tomcat installation and setting CATALINA_BAS

Re: session expiry

2003-07-09 Thread harsh
> > > > public void close() { > > session.inValidate(); > > // kill my session here > > > > } > > or failing that, how do I define a length of time for the session life? > > > > Thanks > > > > Paul. > > -

session expiry

2003-07-09 Thread Paul Wallace
Hello All, A simple one? I have my session defined in a servlet thus: HttpSession session = req.getSession(); session.setAttribute("userSession", h); how or where do define session parameters such as expiry? I would ideally like my session to die when I call a specified method e.g

XML DOCTYPE problem

2003-07-09 Thread Brian Menke
Hi everyone, I have created a JSP page that use the jstl xml tag library, specifically using xpath. Everything works perfectly fine as long as I don't have a doctype declaration like the following in my XML instance: If I remove it, everything works great, but if I don't, I get a java error lik

JDBCRealm and Session Time-Outs

2003-07-09 Thread Rick Roberts
If my session times-out, I want to send the user back to the login form and force a new JDBCRealm authentication. I'm using Form AUTH, but I don't think that Form AUTH would be any different than Basic AUTH in this regard. I think that what I want to do, would be easy if I could just invalidate the

Re: how to create servlet?

2003-07-09 Thread Kwok Peng Tuck
.java is the source file, the one you use to compose your program. It is like any other text file, you can use any text editor to create a .java source file. The .class file is a compiled version of the .java file, ready for execution by the servlet container. For your second question, you only

Re: how to create servlet?

2003-07-09 Thread kitty winslet
In WEB-INF\classes\ I always find 2 kind of file SendMailServlet.java and SendMailServlet.class, what is the difference btw *.java and *.class ? In the servlet mapping fields, why it only shows the name of the servlet, not the full path to where it located for example c:\tomcat\webapps\exa

Re: Client prematurely closes connection = junk in reponse

2003-07-09 Thread Bill Connor
See below... On Wed, 2003-07-09 at 15:10, Michael Wille wrote: > Hello All, > > I am experiencing a very strange problem and don't know exactly how to fix it. The > problem is garbled junk characters are being prepended to the response output stream > that the browser receives. This only happ

Re: Running Tomcat as Windows Service

2003-07-09 Thread Jerry Holyfield
Get a thread dump of the tomcat process. Hi, I want to install Tomcat 4.1.2 as windows service. My servlets should connect to another server over SSl-Connection. I did install tomcat as a service, but when my client connects to the servlet, tomcat hangs down,and I have to restart the service man

"INFO: RESET" in catalina.out & Server 500 under load

2003-07-09 Thread Fletcher Cocquyt
Hi Fellow Tomcat users, I am seeing the following errors in my catalina.out logfile when running any kind of load against the server using apache bench: Jul 9, 2003 5:36:42 PM org.apache.jk.server.JkCoyoteHandler action INFO: RESET Jul 9, 2003 5:36:42 PM org.apache.jk.server.JkCoyoteHandler action

Tomcat Closes HTTPS Port

2003-07-09 Thread Lars Hellgren
Hello, Here is a Windows XP, JDK 1.4.1, Tomcat 4.1.24 problem that I'm not sure of how to tackle. We have been running our new Tomcat application with an HTTP and an HTTPS port for a few weeks. During this time there have been two occasions on which the HTTPS port has become closed for no app

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
It's all working now! Form AUTH and JDBCRealm. Works as advertised! :) I had 2 errors in my "login.jsp" file. Once I closed my with and changed "j_passsword" to "j_password" It worked!! I can attribute ALL of my problems to my poor typing and review skills. Thanks again for your help. -- *

Client prematurely closes connection = junk in reponse

2003-07-09 Thread Michael Wille
Hello All, I am experiencing a very strange problem and don't know exactly how to fix it. The problem is garbled junk characters are being prepended to the response output stream that the browser receives. This only happens for Internet Explorer and it seems very random. It is very difficult

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
redirects can be a problem (some firewalls don't allow them.) I'd go with the forwards. Did all servlet apps have to have a static HTML welcome page before JSP came into being? On Wednesday 09 July 2003 04:51 pm, Mike Curwen wrote: > A-HAAA!!! Yes, there is... > > but in the next version of

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
Thanks for the info. John On Wed, 9 Jul 2003 15:43:51 -0500, Mike Curwen <[EMAIL PROTECTED]> wrote: -Original Message- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 3:31 PM To: Tomcat Users List Subject: Re: setting up a root servlet / getting images to ap

RE: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mike Curwen
A-HAAA!!! Yes, there is... but in the next version of the spec :( (Tomcat 5) So for now, we all have to have a jsp file that does the kickmeto trick. > -Original Message- > From: Ben Souther [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 3:52 PM > To: Tomcat Users List >

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
I see what you mean. Is there no way to map the welcome-file-list element in web.xml to a servlet? On Wednesday 09 July 2003 04:38 pm, Mark Biciunas wrote: > That servlet will work great as will the configuration - no question about > it. But try updating your configuration so that you acccess

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
I'm going to start a new thread now because I no longer need help getting JDBCRealm to work. Now I need some help getting FORM AUTH to work with JDBCRealm. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. *

RE: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mike Curwen
> -Original Message- > From: John Turner [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 3:31 PM > To: Tomcat Users List > Subject: Re: setting up a root servlet / getting images to > appear in Tomcat 4.1.24 > > > > OK. I still don't get it, but I don't want to prolong th

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
That servlet will work great as will the configuration - no question about it. But try updating your configuration so that you acccess it as: http://localhost:8080 (note the removal of /hello). The solution I presented is only relevant to the situation when there is no path (ie: /hello).

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
Just a quick update. My JDBCRealm works if I use Basic AUTH. Only trouble I have now is getting Form AUTH to work. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
OK. I still don't get it, but I don't want to prolong the thread. Thanks for the info. John On Wed, 9 Jul 2003 16:30:08 -0400, Mark Biciunas <[EMAIL PROTECTED]> wrote: It became necessary only when we tried to create a servlet that is accessed without any path information (ie: www.mysite.com

Adding multiple params to redirect header

2003-07-09 Thread Boris Folgmann
Hi! Does anybody know a good method to pass all parameters from one request to another one using a redirect header? I can read all parameters of the original request with request.getParameterMap(), but how can I get them into the URL used for the redirect header? cu, boris -

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
It became necessary only when we tried to create a servlet that is accessed without any path information (ie: www.mysite.com instead of www.mysite.com/myservlet). Of course, if you have specified a static html page as the welcoming page to your site, you may never need to access a servlet without

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Ben Souther
This servlet displays images just fine from the root context. It uses the root context that comes standard with tomcat. I'm hitting it with this URL: http://localhost:8080/hello import javax.servlet.*; import javax.servlet.http.*; import java.io.*; public class HelloWorldExample extends HttpSer

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
I'm just trying to understand why it was necessary. Our apps have mixed content, and we did not have to configure things as you've described. John On Wed, 9 Jul 2003 16:04:06 -0400, Mark Biciunas <[EMAIL PROTECTED]> wrote: As I understand it, the servlet will receive all requests other than

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
This is what I have. The goal: http://www.host.com works. Environment: Apache 2.0.43, mod_jk, Tomcat 4.1.18, Solaris 8. httpd.conf: NameVirtualHost * LoadModule jk_module /usr/local/apache2/modules/mod_jk.so JkWorkersFile conf/workers.properties JkLogFile logs/mod_jk.log JkLogLevel debug

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
I have that set, still no luck. same error. - Original Message - From: "John Turner" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Wednesday, July 09, 2003 2:38 PM Subject: Re: Setup Default Context to point to specific webapp > > First thing I would try is: > > J

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
As I understand it, the servlet will receive all requests other than those that have been re-routed through servlet-mappings. Just out of curiosity, do you see a problem with this approach? Mark Biciunas Agorex Inc (905) 274-6785 [EMAIL PROTECTED] - Original Message - From: "John Turner"

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
So you have a servlet that is intercepting all requests, other than image requests? John On Wed, 9 Jul 2003 15:55:21 -0400, Mark Biciunas <[EMAIL PROTECTED]> wrote: Actually, the point of the article is to explain how NOT to deliver the images via the servlet and to allow Tomcat to serve image

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
Actually, the point of the article is to explain how NOT to deliver the images via the servlet and to allow Tomcat to serve images normally - something that doesn't happen if you are using a root context. It is only when you configure server.xml with a blank context path (ie: ) that you run into

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
First thing I would try is: JkMount /* ajp13 John On Wed, 9 Jul 2003 14:29:55 -0500, David Nelson <[EMAIL PROTECTED] ind.com> wrote: Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would m

RE: Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
Thanks for the quick reply John. I have commented out the listener so we have the auto-generation straight, now I added a JkMount / ajp13 thinking that would map to my context in server.xml. However, when I try www.mysight.com/ I receive a 404 The requested resource (/) is unavailable. Add

Re: setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread John Turner
Just so I'm clearyou want to deliver the images via the servlet? I'm missing why you have to declare the MIME types of images at all...Tomcat is perfectly capable of serving them in a standard HTTP/1.1 manner without any intervention from a servlet, and without any additional configuration.

setting up a root servlet / getting images to appear in Tomcat 4.1.24

2003-07-09 Thread Mark Biciunas
This email formally presents what I have learned over the past couple days about setting up a servlet to be accessed as root (ie: www.myservlet.com instead of www.myservlet.com/somepath) without loosing access to images and other mime types. It is based primarily on advice received from Bill Barke

Re: Setup Default Context to point to specific webapp

2003-07-09 Thread John Turner
If its causing a problem for you, skip the auto generation and modify httpd.conf by hand. The auto generation only works for the simplest of configurations, anyway. John On Wed, 9 Jul 2003 14:04:18 -0500, David Nelson <[EMAIL PROTECTED] ind.com> wrote: I realize this may seem terribly simple

Tomcat Virtual Directory

2003-07-09 Thread Jeremy Nix
In IIS it is possible to specify a "virtual directory" within a given virtual server that maps a directory under the website to a specific directory. Well, I have a need to create this type of functionality for a specific webapp only. So that when you go to Http://localhost/WEB_APP/DIR, then the

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
Mike, Thanks for your time on this, you have been very helpful. I will post the solution here, if I ever get it working. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. *

Setup Default Context to point to specific webapp

2003-07-09 Thread David Nelson
I realize this may seem terribly simple to a few of you but I have yet to tweak my server.xml to generate a mod_jk.conf that will correctly handle the www.mysight.com/ address. What am I missing? I do have tomcat 4.1.18 and Apache2 relatively communicating at this point via mod_jk I think. On

RES: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thank you too. -Mensagem original- De: John Turner [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:54 Para: Tomcat Users List Assunto: Re: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les? http://www.servlets.com/cos/index.html John

ROOT context fails to use mail/Session Resource param. defaults to localhost

2003-07-09 Thread Raimee Stevens
I am not able to use the JNDI mail Factory from the ROOT context. It works when run from the examples context and other non-ROOT contexts as well. For some reason, the ROOT context fails to correctly load the SMTP host variable defined by the JNDI resource in the server.xml(below). It does howe

Re: RES: [off-topic] - Where can i find Oreilly's package for uploadi ng fi les?

2003-07-09 Thread John Turner
http://www.servlets.com/cos/index.html John On Wed, 9 Jul 2003 15:27:38 -0300, Jose Euclides da Silva Junior - DATAPREVRJ <[EMAIL PROTECTED]> wrote: I am not looking for examples, just the own package. Euclides. -Mensagem original- De: Rick Roberts [mailto:[EMAIL PROTECTED] Enviada em:

RE: Still need help with JDBCRealm

2003-07-09 Thread Mike Curwen
That's quite odd. http://forum.java.sun.com/thread.jsp?forum=427&thread=394938&message=171 3354#1713354 That thread talks about 'problems' with the Connector itself. Perhaps its worth investigating if the settings proposed there can help you.. http://www.javalobby.com/threadMode_printfriendly

Re: determining version of mod_jk.so

2003-07-09 Thread John Turner
The "2.0.43" is an Apache version, it has nothing to do with the version of the actual connector source. You can have a connector that is version 2.0.2, for example, that is compiled for Apache 2.0.40, .43, .44, and .46. The convention when delivering the binaries, then, is to tag the .so file

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Eric J. Pinnell
Hi, It's the latest pre-built binary (Oct of 2002). Which isn't very new. You could compile 2.0.2. -e On Wed, 9 Jul 2003, Rick Roberts wrote: > Thanks. > > It looks like mod_jk2-2.0.43.so is the latest for Linux. > So, maybe I am current after all. > > -- > ***

RES: [off-topic] - Where can i find Oreilly's package for uploading files?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
thanks. -Mensagem original- De: Mike Curwen [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:39 Para: 'Tomcat Users List' Assunto: RE: [off-topic] - Where can i find Oreilly's package for uploading files? www.servlets.com/cos > -Original Message- > From

RE: [off-topic] - Where can i find Oreilly's package for uploading files?

2003-07-09 Thread Mike Curwen
www.servlets.com/cos > -Original Message- > From: Jose Euclides da Silva Junior - DATAPREVRJ > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 1:02 PM > To: '[EMAIL PROTECTED]' > Subject: [off-topic] - Where can i find Oreilly's package for > uploading files? > > > Hi, i h

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Rick Roberts
Thanks. It looks like mod_jk2-2.0.43.so is the latest for Linux. So, maybe I am current after all. -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

RES: [off-topic] - Where can i find Oreilly's package for uploading fi les?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
I am not looking for examples, just the own package. Euclides. -Mensagem original- De: Rick Roberts [mailto:[EMAIL PROTECTED] Enviada em: quarta-feira, 9 de julho de 2003 15:33 Para: Tomcat Users List Assunto: Re: [off-topic] - Where can i find Oreilly's package for uploading fi les? Not

Re: [off-topic] - Where can i find Oreilly's package for uploadingfi les?

2003-07-09 Thread Rick Roberts
Not sure if this is what you are after but: There is a MultiPartRequest Class in the "Java Servlet Programming" Book. http://examples.oreilly.com/jservlet2/ HTH, Rick Jose Euclides da Silva Junior - DATAPREVRJ wrote: Hi, i have tried to search for , but i didnt find it. Can somebody help me? Tha

Re: session replication using JavaGroups

2003-07-09 Thread YErkan
For the record :-) It seems to be a hardware hub problem. The machines on the same hub can communicate with each other but not with the other ones... Strange... -> Yagiz |-+> | | [EMAIL PROTECTED] | | |

AJP13 error: No processor available

2003-07-09 Thread Benjamin Cox
Hello, Tomcat 4.1.24, J2SDK 1.4.0, Apache 1.3.27, mod_jk 1.2.0. I am trying to determine the cause of the following errors: Ajp13Connector[8009]: No processor available, rejecting this connection This seems to come up after a few days, causes the page to come back as an "Internal Server Error"

Re: images not appearing

2003-07-09 Thread Mark Biciunas
Hi, Your solution is exactly what was needed and it is the direction I ended up going in overnight with the tender assisstance Bill Barker. There are a couple of tricks to getting it working correctly so I am posting a seperate email to the group outlining what I have learned (it is definately no

[off-topic] - Where can i find Oreilly's package for uploading files?

2003-07-09 Thread Jose Euclides da Silva Junior - DATAPREVRJ
Hi, i have tried to search for , but i didnt find it. Can somebody help me? Thanks in advance, Euclides. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Eric J. Pinnell
Hi, That's mod_jk. JK2 is on the same server, different directory http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/release/ -e On Wed, 9 Jul 2003, Maureen Barger wrote: > http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ > > At 02:00 PM 7/9/2003 -0400, you w

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Maureen Barger
oops I meant http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk2/ At 02:00 PM 7/9/2003 -0400, you wrote: Just realized that I don't have latest version. I can never remember where to find it. Maureen Barger, CIT/ID, Cornell Univers

session replication using JavaGroups

2003-07-09 Thread YErkan
We're having some problems in our session replication using Javagroups. It seems that it works on our Win2000 Workstations however not on our Win2000 Servers. Do you have any ideas why? Cheers, -> Yagiz - To unsubscribe, e-

Re: Where can I download latest mod_jk2.so?

2003-07-09 Thread Maureen Barger
http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/ At 02:00 PM 7/9/2003 -0400, you wrote: Just realized that I don't have latest version. I can never remember where to find it. Maureen Barger, CIT/ID, Cornell University I

Where can I download latest mod_jk2.so?

2003-07-09 Thread Rick Roberts
Just realized that I don't have latest version. I can never remember where to find it. Thanks, -- *** * Rick Roberts* * Advanced Information Technologies, Inc. * ***

installing new version of mod_jk.so

2003-07-09 Thread Maureen Barger
I am trying to download a previously compiled version of mod_jk.so for AIX from http://jakarta.apache.org/builds/jakarta-tomcat-connectors/jk/release/v1.2.0/bin/aix/ However it seems I can't unpack it into my libexec directory and go - starting apache gives me errors that it cannot load this mod

Re: determining version of mod_jk.so

2003-07-09 Thread Maureen Barger
You are correct -- you can do strings and scroll or start up apache in debug and it will appear in the error log file as it loads. At 01:41 PM 7/9/2003 -0400, Rick Roberts wrote: However; I did a 'strings mod_jk2-2.0.43.so' and found: mod_jk2/2.0.0 Check to see if your mod_jk2.so is a sym link

Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Ya... that makes sense. The latest release of JK2 is 2.0.2. You could possibly be running 2.0.0. I don't know where it's getting 2.0.43 from... sounds like an apache version. -e On Wed, 9 Jul 2003, Rick Roberts wrote: > However; I did a 'strings mod_jk2-2.0.43.so' > > and found: > > mod_jk2/

Re: determining version of mod_jk.so

2003-07-09 Thread Rick Roberts
However; I did a 'strings mod_jk2-2.0.43.so' and found: mod_jk2/2.0.0 Check to see if your mod_jk2.so is a sym link. Mine is linked to mod_jk2-2.0.43.so -- *** * Rick Roberts* * Advanced Information Technologies, Inc. *

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
Mike Curwen wrote: Someone else on this list had a similar problem with NPE's being thrown by Coyote. His developers insisted it wasn't their code, and that it had to be coyote causing the trouble. I sympathize with that position, because on that stack trace, and on yours, there is only org.apache

RE: sharing objects betweeen different contexts (Long)

2003-07-09 Thread Cox, Charlie
put your shared class in /common/lib and each webapp will be able to see it. Charlie > -Original Message- > From: RANDAD,KAILASH (HP-PaloAlto,ex1) [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 08, 2003 3:17 PM > To: 'Tomcat Users List' > Subject: RE: sharing objects betweeen different c

Re: Error Msg "The requested resource (/ABT/servlet/ChangeModel)is not available"

2003-07-09 Thread Tim Funk
Probably: http://jakarta.apache.org/tomcat/faq/misc.html#invoker [EMAIL PROTECTED] wrote: Hello, I am getting the following error message: "The requested resource (/ABT/servlet/ChangeModel) is not available" when I try to run a servlet from my web application. I have my form's action property

Error Msg "The requested resource (/ABT/servlet/ChangeModel) is not available"

2003-07-09 Thread TWesterman
Hello, I am getting the following error message: "The requested resource (/ABT/servlet/ChangeModel) is not available" when I try to run a servlet from my web application. I have my form's action property pointed to http://server_name/ABT/servlet/ChangeModel. My class file, ChangeModel, exists

Re: determining version of mod_jk.so

2003-07-09 Thread Eric J. Pinnell
Hi, I don't know if there is an "official" way but I did a 'strings mod_jk2.so' and found: mod_jk2/2.0.2 YMMV. -e On Wed, 9 Jul 2003, Maureen Barger wrote: > can someone remind me how to do this under unix? thanks. > > > -

RE: Still need help with JDBCRealm

2003-07-09 Thread Mike Curwen
Someone else on this list had a similar problem with NPE's being thrown by Coyote. His developers insisted it wasn't their code, and that it had to be coyote causing the trouble. I sympathize with that position, because on that stack trace, and on yours, there is only org.apache classes throwing E

determining version of mod_jk.so

2003-07-09 Thread Maureen Barger
can someone remind me how to do this under unix? thanks. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
If there is a DUNCE of the Week Award, can I apply now! Changing the Realm to But now I have progressed to this error: [EMAIL PROTECTED] tomcat4]# tail -300 catalina_log.2003-07-09.txt 2003-07-09 12:53:36 CoyoteAdapter An exception or error occurred in the container during the request processin

Re: How can I deactivate the access logging

2003-07-09 Thread Simon Pabst
Look for a xml entry with org.apache.catalina.valves.AccessLogValve then comment it out. (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/valve.html) At 15:37 09.07.2003 +0200, you wrote: Hi, i have noticed that tomcat logs all calls to the file localhost_access_log. Is it possible to deac

RE: Still need help with JDBCRealm

2003-07-09 Thread Mike Curwen
Also, > -Original Message- > From: Rick Roberts [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 11:32 AM > To: Tomcat Users List > Subject: Still need help with JDBCRealm > > > Of the several applications running on this server, > I am only trying to apply a JDBCRealm to th

Re: I can no longer start TC from W2k Start Menu

2003-07-09 Thread ThePrahs
Sorry, it was a mistake from me :-)

RE: Still need help with JDBCRealm

2003-07-09 Thread Mike Curwen
I always thought it was just a cut error (typo), but you need a < at the start of your Realm Actually, if your file is *exactly* as shown, I'm surprised it doesn't complain loudly. > -Original Message- > From: Rick Roberts [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 09, 2003 11:

RE: I can no longer start TC from W2k Start Menu

2003-07-09 Thread Mike Curwen
Is this an annoying aol thing? Or is it a (still annoying) attempt at soliciting more responses on this thread? If it's that 2nd thing, posting the exact same message 3 times in as many days is liable to get you the opposite of the response you want. > -Original Message- > From: [EMAIL

Re: how to create servlet?

2003-07-09 Thread Robert Wray
The SendMailServlet code should be located in tomcat_installation_directory\webapps\examples\WEB-INF\classes\SendMailServlet.java The web.xml file in the WEB-INF directory should have a tags: SendMailServlet SendMailServlet and SendMailServlet /SendM

Still need help with JDBCRealm

2003-07-09 Thread Rick Roberts
I have been working on this for a couple of days now. I think I am close, but still missing something basic. If you know how to set up a JDBCRealm, please look over my files and error logs and tell me where I have made my mistake. Thanks in advance for your help. ___

Re: I can no longer start TC from W2k Start Menu

2003-07-09 Thread ThePrahs
No, TC is not(or won't be) already running when I try to start it from W2k Start Menu. Might have to do with a package which either  not there or conflicting the TC's start-up process. What is missing or conflicting is what I can not figure out - the logs don't say say anything either. Anyway

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread John Turner
Well, sounds like you have some re-education work to do. The whole point is to be portable. Putting things your web application requires onto a network share (I think you mentioned V:) that won't exist anywhere else is not the best practice for design, especially if you have to go in and munge

RE: outof memory error

2003-07-09 Thread Shanta B
I hope increase the heap size does not suffice our problem because it will effect GC in java..but surprise thing is that these outofmemory occurs in OMIP side(this is intelligent people code ..)))because one sent log files ..out of all the processes ,outofmemory occurs in mscore and locator... stil

RE: outof memory error

2003-07-09 Thread Bodycombe, Andrew
Hi Shanta You get an OutOfMemoryError when the stack or heap space is exhausted. You can increase the heap size by setting the -Xmx option in the startserver script, but I think it already allocates 300Mb at startup. 300Mb should be plenty of memory for these applications, so I suspect there is a

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread Norris Shelton
I wish I could. This is the architecture that I am saddled with. I have to find a way to make TC5 work with what is given. --- John Turner <[EMAIL PROTECTED]> wrote: > > That was my point. JAR up your class files, and put them > where Tomcat > expects them to be. Problem solved. People typ

RE: [OFFTOPIC??] RE: dbcp connection and database restart

2003-07-09 Thread Andy Eastham
Angus, You can call Conection.isClosed(), but the documentation suggests that this is not a reliable method of telling that it is _definitely_ closed. However, if it does return true, you know that you should reconnect before attempting a call with the connection. Andy > -Original Message---

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread John Turner
That was my point. JAR up your class files, and put them where Tomcat expects them to be. Problem solved. People typically use ant to do this, so that it is fairly automatic when deploy time comes around. John On Wed, 9 Jul 2003 08:07:58 -0700 (PDT), Norris Shelton <[EMAIL PROTECTED]> wrote

RE: Réf. : RE: dbcp connection and database restart

2003-07-09 Thread Raible, Matt
Yes. http://www.mail-archive.com/[EMAIL PROTECTED]/msg91560.html -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 09, 2003 8:31 AM To: Tomcat Users List Cc: 'Tomcat Users List' Subject: Réf. : RE: dbcp connection and database restart Matt, do y

outof memory error

2003-07-09 Thread Shanta B
Hi Sorry for disturbing...i would like to whats the reason behind java.lang.outofmemory...because currently at one site we are getting these errors in mscore and locator...what may be the reason ..how should i debug the processes memoryif u have any idea or links u pl forward to me...in the

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread Norris Shelton
Ah, ha. Now you are getting somewhere. The "Class Loader Definitions" has the following under the "System" bullet: However, the standard Tomcat 4 startup scripts ($CATALINA_HOME/bin/catalina.sh or %CATALINA_HOME%\bin\catalina.bat) totally ignore the contents of the CLASSPATH environment variable

RE: Retrieving a blob object?

2003-07-09 Thread Jay Garala
Hi Euclides, What blob type does a web form send? Do you mean HTML Form Types? Attachements? Jay Garala Senior Software Engineer Conclusive Technology, Inc. -Original Message- From: Jose Euclides da Silva Junior - DATAPREVRJ [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 08, 2003

JAVA_HOME for TOMCAT as an NT Service

2003-07-09 Thread nrapagnani
Hello. I am trying to get TOMCAT 4.1 to run as an NT service. When I have the service running I get a 500 error for all jsp pages I've made a change to. I've set JAVA_HOME to the correct path as a System Variable in windows 2000. If I were to shut down the service and choose Start Tomcat from

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread John Turner
See the ClassLoader HOWTO: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html specifically: "Shared - This class loader is the place to put classes and resources that you wish to share across ALL web applications (unless Tomcat internal classes also need access, in which c

[OFFTOPIC??] RE: dbcp connection and database restart

2003-07-09 Thread Angus Mezick
Is there a better way of doing this? Even if I 'select 1 from TABLE' I don't like the fact that there is an extra DB communication for every connection I get from the pool. I don't know if there are alternatives to this in DBCP but are there any other ways to ask if a connection in a pool is stil

Re: How do I setup Tomcat 5.* (need windows classpath)

2003-07-09 Thread Norris Shelton
How do you get it access items that are not within the tomcat install. I have tomcat installed locally on c:. There is an additional library located on v: (loose classes and jars). We could not get Tomcat to access these classes. --- John Turner <[EMAIL PROTECTED]> wrote: > > H...lots of

  1   2   >