Tomcat 4.0: Datasources and DB2

2001-10-02 Thread Brian Richards
1) Has anyone had any success creating DataSources with db2? Can I see a sample server.xml configuration? 2) does anyone have mod_webapp.dll available for connecting apache 1.3 and Tomcat 4.0? I know that raw database connections are fine i just haven't had any success with the datasource. And

Restart Tomcat to load Java Beans

2001-10-02 Thread Roberto B.
I'm using Tomcat 3.2.3. I use java beans for my site (myapp). 1) I place my beans under dir: /webapps/myapp/WEB-INF/classes. Is it right? 2) Every time I change a bean, I compile it and I must restart Tomcat to get this changes ... Is it right?.. or is there another way to do this? Roberto.

Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Lomesh Contractor
Hi, I am in need of distributed session. I am using tomcat 3.2.3, but in its document, I could not find out about its support for distributed sessions. Does anybody knows, whether Tomcat-3.2.3 supports Distributed sessions across multiple web servers and Tomcat integration on

Re: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread David Cassidy
when you get one let me know ! Thanks David Lomesh Contractor wrote: Hi, I am in need of distributed session. I am using tomcat 3.2.3, but in its document, I could not find out about its support for distributed sessions. Does anybody knows, whether Tomcat-3.2.3

This is why Apache is not serving static pages

2001-10-02 Thread Rob W. van Swol
Hi, I have posted a question lately about Apache not serving static pages while the dynamic pages were served correctly by tomcat 4. I just discovered the reason: the problems occur when you use server side includes (SSI) in Apache. Setting 'XBitHack on' instead of 'AddHandler server-parsed

Re: tomcat as service!

2001-10-02 Thread RahulKrishna Gupta
Vara Prashanth wrote: Hello all: I am trying to run tomcat 3.2.2 as a service on my machine. The problem however is I don't have the jk_nt_service.exe file! Can anyone of you please tell me if I can use any oher version of the file? I tried looking up the 3.2.2 on the apache site but it gets

Webapp and Tru64

2001-10-02 Thread Yogesh Bhanu
Hi all, I 'm not sure If this questions is repeated . I 'm trying to compile Webapp in order to use Tomcat 4.x ( This is release vesrion ) now the problem I 'm facing is . The make fails at trying to include stdint.h which naturally is not there . The system I'm trying to compile on

mod_webapp

2001-10-02 Thread Stephen . Burns
The Index of /dist/jakarta/jakarta-tomcat-4.0/release/v4.0 states that binary and source distributions of the mod_webapp connector will be posted on Wednesday, September 19, 2001, for a variety of platforms. Presumably into that directory. However its now October 2, 2001 and there is no sign of

Can't use Cookies in tag libraries ?????

2001-10-02 Thread Arnaud Héritier
Hi all !! I face up to a problem concerning the use of cookies in a tag library. In my tag library I would like to store a cookie on the client. I wrote this in the doStartTag method of my tag : HttpServletResponse httpResponse = (HttpServletResponse)pageContext.getResponse();

Re: mod_webapp

2001-10-02 Thread RahulKrishna Gupta
[EMAIL PROTECTED] wrote: The Index of /dist/jakarta/jakarta-tomcat-4.0/release/v4.0 states that binary and source distributions of the mod_webapp connector will be posted on Wednesday, September 19, 2001, for a variety of platforms. Presumably into that directory. However its now October 2,

Re: configuring tomcat/apache

2001-10-02 Thread RahulKrishna Gupta
Chandramouli wrote: How do i configure apache to dynamically load contexts from tomcat. Regards Chandra Check out the Apache config for tomcat which is included in the docs for Tomcat. I can send you the exact settings in server.xml and httpd.conf if you so wish but I would advise you to fo

RE: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Arnaud Héritier
I just try to test with tomcat 4.0 standalone and I have the same problem :-( Craig, an idea -Message d'origine- De: Arnaud Héritier [SMTP:[EMAIL PROTECTED]] Date: mardi 2 octobre 2001 12:03 À:Tomcat-User (Adresse de messagerie) Objet:Can't use Cookies in tag

How to unsubscribe tomcat-user mailing list?

2001-10-02 Thread Sam
Hi everybody, how to unsubscribe this mailing list? thanks in advance. --sam

Re: How to unsubscribe tomcat-user mailing list?

2001-10-02 Thread RahulKrishna Gupta
Sam wrote: Hi everybody, how to unsubscribe this mailing list? thanks in advance. --sam To remove your address from the list, send a message to: [EMAIL PROTECTED] -RKG

Re: Webapp and Tru64

2001-10-02 Thread Nikola Milutinovic
Hi all, I 'm not sure If this questions is repeated . I 'm trying to compile Webapp in order to use Tomcat 4.x ( This is release vesrion ) now the problem I 'm facing is . The make fails at trying to include stdint.h which naturally is not there . The system I'm trying

Re: mod_webapp

2001-10-02 Thread Nikola Milutinovic
The Index of /dist/jakarta/jakarta-tomcat-4.0/release/v4.0 states that binary and source distributions of the mod_webapp connector will be posted on Wednesday, September 19, 2001, for a variety of platforms. Presumably into that directory. However its now October 2, 2001 and there is no

Load balancing explanation needed - please

2001-10-02 Thread JLagrue
I am attempting to setup a system with Apache and Tomcat 3.2.3 to load-balance between 2 instances of Tomcat on the same machine. I have read and reread the worker.properties document, plus the Apache-HowTo, as well as trawled through the archives here and on jGuru, but still find myself

Re: Webapp and Tru64

2001-10-02 Thread Yogesh Bhanu
Hi Nikolai, Well I havent tried it, But on going thru my linux alpha box , it has stdint.h well it is gcc-2.95.4 what do ya say ..?? By the way are you an the alpha Tru64 list also ... If the binary is going to made available then I might as well wait . Thanks anyways

Re: Can't use Cookies in tag libraries ?????

2001-10-02 Thread André de Jesus
Hi With Tomcat 4.0 I have developed a taglib for visit cookies. The relevant part of the code is very similar to what you sent: HttpSession session=pageContext.getSession(); HttpServletRequest request=(HttpServletRequest)pageContext.getRequest(); HttpServletResponse

Tomcat 4.0 access log DIES all the time for no reason

2001-10-02 Thread André de Jesus
Hi Access logs are very important to server maintenance and traffic analysis. So, a log system needs to be flexible. In UNIX (Linux), flexibility is obtainable through the filesystem interface. For example, logs can be sent to a pipe instead of a regular file. Then, a process reads the pipe

Caching Login Info in Tomcat 3.2.x

2001-10-02 Thread Renato Romano
Hi, I would like Tomcat avoiding to access the DB for EVERY ACCESS to a reserved page. I think the best way to do this (apart from upgrading to Tomcat 4.0 !!) is to store the login info, or maybe just a flag I'm authenticated, in the session object. Does anyone already made something similar ?

Tomcat 4.0 weirdness setting bean properties from checkboxes

2001-10-02 Thread André de Jesus
Hi The following JSP directive: jsp:setProperty name=reg property=* / is supposed to work for any CGI parameter coming form an HTML form. But with HTML form checkboxes, even if the bean function that receives the values checks for null or on, the resulting bean value corresponds always to

AW: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Ralph Einfeldt
Make shure that you don't print something to 'out' before you forward. This can happen very easily without intension. Just one example: % someCode; % % someCode; % % someCode; % jsp:forward ... Will produce something like this in most jsp engines: someCode; out.println(); someCode;

RE: mod_webapp

2001-10-02 Thread Jim Urban
The binaries have been placed here http://www.apache.org/dist/jakarta/jakarta-tomcat-4.0/release/v4.0/bin/ Some binaries have been placed there. Currently there are no binaries there (or anyplace I can find) for Win32. Jim

Error 500

2001-10-02 Thread Stefano Bonnin
Hi, I have developed a multidevice application with the Cocoon tecnology. When I test it with Nokia Wap Toolkit all is right but when I use an hand held device it send me an http error 500. Why? Thanks in advance. Stefano B.

Re: mod_webapp

2001-10-02 Thread David Ward
Neither are there eapi builds of mod_webapp there (necessary for people who's Apache's are SSL-ized). I tried recompiling myself, but somethings screwey either on my system or in the provided configure script... -- Jim Urban wrote: The binaries have been placed here

Re: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Will Stranathan
Not 100% positive, but I *think* the answer is no, there. When load balancing 3.2.3, it uses sticky sessions - i.e., if you hit a service that gives you a session, you keep going back to that service - the session doesn't span all the instances. Will Stranathan David Cassidy wrote: when

Load Balancing

2001-10-02 Thread Lomesh Contractor
Hi, Does Tomcat 3.2.3 supports Load Balancing among different servers ? If so, then Does it supports Distributed Session Management among different servers ? If so, then How ? Any Example ? Waiting for quick reply... Regards, Lomesh.

Re: Caching Login Info in Tomcat 3.2.x

2001-10-02 Thread André de Jesus
If you are using container-managed authentication (the system that comes with Tomcat, that is configured for each Realm in the file server.xml), then the user roles and passwords are already automatically cached for each session (the isUserInrole() function and other similar functions do not

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Randy Layman
Tomcat is indicating that it can't find JavaC (thus the Class Not Found for sun.tools.javac.Main). Does jdk1.4 still have a tools.jar file? Is it in your classpath for Tomcat? (i.e. is your JAVA_HOME set such that JAVA_HOME/lib/tools.jar exists) Randy -Original

Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Ali Manji
I recently upgraded my JDK to use jdk1.4 beta 2 and am running tomcat 4.0 the most recent release driver and I am haviing trouble running any of the shipped samples (like numberguess jsp). The error I get is just below, is this a known problem? A Servlet Exception Has Occurred Root Cause:

RE: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Randy Layman
-Original Message- From: Will Stranathan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 8:57 AM To: [EMAIL PROTECTED] Subject: Re: Does Tomcat-3.2.3 supports Distributed Sessions ? Not 100% positive, but I *think* the answer is no, there. When load balancing

RE: Caching Login Info in Tomcat 3.2.x

2001-10-02 Thread Randy Layman
-Original Message- From: André de Jesus [mailto:[EMAIL PROTECTED]] Sent: Tuesday, October 02, 2001 9:03 AM To: [EMAIL PROTECTED] Subject: Re: Caching Login Info in Tomcat 3.2.x If you are using container-managed authentication (the system that comes with Tomcat, that is

Urgent (newbie) - Jsps located out of tomcat contexts

2001-10-02 Thread Navarro, Jose
Hi, I have developed a servlet (a hit counter servlet, in fact) that I intend to use in several pages in my website. Since it is a servlet, I think the best (perhaps the only?) way to invoke it from an html web page is to embed some jsp code in them, in this way: jsp:include

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Ali Manji
Yes jdk1.4beta2 does have a tools.jar and the JAVA_HOME var does point to it. I am now thinking that something is wrong with the Tomcat config files, because if I run catalina.bat directly I seem to be okay and the shipped samples seem to be okay, yet when I start Tomcat via

Re: Load balancing explanation needed - please

2001-10-02 Thread Uniti Marco
http://java.apache.org/jserv/howto.load-balancing.html HI [EMAIL PROTECTED] wrote: I am attempting to setup a system with Apache and Tomcat 3.2.3 to load-balance between 2 instances of Tomcat on the same machine. I have read and reread the worker.properties document, plus the

urgent: error in modjk.log

2001-10-02 Thread Quaini Michele
Hello, we have the following problem in production: we use jakarta-tomcat 3.2.1 + apache 1.3.12 a lot of errors of this type are present in the log file of mod_jk.log: [jk_uri_worker_map.c (335)]: jk_uri_worker_map_t::uri_worker_map_close, NULL parameter [jk_uri_worker_map.c (185)]: In

Re: Load balancing explanation needed - please

2001-10-02 Thread Marc Ponschab
Hi, i think you're on the right way I need to define entires in the worker.properties file for each of these instances. That much seems obvious. But how? Do I define both instances as workers in the same worker.properties file? Example: __ # you can reference this from

Setting up hidden directory

2001-10-02 Thread Tim Ashman
I had this setup once and my box blew up on me so I've lost my config. Right now I have to enter the following to execute my servlets somehost/somecontext/servlet/somedirectorystructure.someservlet. I want to be able to enter somehost/context/servlet/someservlet. I use to be able to do this

AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Ralph Einfeldt
Just out of interest: what is the reason for this requirement? I can hardly imagine a case where the benefit of distributed sessions justifies the amount of work to implement them (and the amount of problems you will have if you got them) Be carefull what you desire, you might get it.

Login j_security_check JSP question

2001-10-02 Thread Gerry Duhig
Help! I want to find a sample of a JSP Page to use as the authentication form in a secure application. I have seen reference to such a page but cannot find a sample. We currently use an html page but need some additional processing. Please direct me to a URL or send me a sample Thanks Gerry

Re: AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread David Cassidy
Umm situation where you would want them in a multi server situation. where you want to assure your boss that no he won't loose customers and their money. If you look at things like dynamo and weblogic they provide ( I know more about dynamo than weblogic) a comple fail over protected etc

R: Caching Login Info in Tomcat 3.2.x

2001-10-02 Thread Renato Romano
And what about just storing an I'm authenticated flag in the session, associated with the username (which is already there...) ? This way I have no problems about password changes... Therefore, i think password is already stored clearly in the session object as the attribute j_password, isn't it

HTTP POST request: maximum allowed data?

2001-10-02 Thread Danny Heinen
Hi, I have to tranfer data from a textarea to a JSP page, by using the HTTP POST request. I do it by javascript: var newPage = /nnn/newpage.jsp? + szData; window.location.href=newPage; The data will be saved in a database then. I wonder what's the maximum allowed data to send with a POST

ejb mysql ejbPassivate() - NEWBIE QUESTION -

2001-10-02 Thread Papo Napolitano
I'm trying to write an Session EJB to administrate users in a Database. I've written it and connect to mySql in this way : CODE -- public int dbConnect() { try { Class.forName(org.gjt.mm.mysql.Driver).newInstance();

AW: HTTP POST request: maximum allowed data?

2001-10-02 Thread Ralph Einfeldt
If szData is the content of your textarea your are just doing a get. To post something you need a form with method=post The Post request has no maximal size (at least none that I know). Get is limited by apache by some 1400 bytes, what the spec says I haven't looked for.

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Epling, Bob
Craig, Thanks for the advice. For grins I wrote a quickie program in java that connected to the database and listed the users. It worked fine using the same parameters that were in the server.xml for Tomcat. So, I started to scratch my head some more and took a harder look at catalina.bat.

Réf. : Login j_security_check JSP question

2001-10-02 Thread R . DAVIDOVICH
in the folder $CATALINA8HOME/webapps/examples/jsp/security/protected/ there are three pages: login.jsp, error.jsp and index.jsp... and in the server's web.xml there's the security constraint and the login configuration... hope it's what you're looking for...

RE: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Arnaud Héritier
I done it, but I would to store the info between two sessions, that's why I tried this. -Message d'origine- De: Marcel May [SMTP:[EMAIL PROTECTED]] Date: mardi 2 octobre 2001 16:40 À:[EMAIL PROTECTED]; [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Objet:Re: Can't use

Re: Load balancing explanation needed - please

2001-10-02 Thread JLagrue
Only one problem with this answer: I am using Tomcat, not JServ. The configurations are totally different. JDL Uniti Marco

Re: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Marcel May
On Tue, Oct 02, 2001 at 04:53:04PM +0200, Arnaud H?ritier wrote: I done it, but I would to store the info between two sessions, that's why I tried this. Store it somehow in application scope bean then? -Message d'origine- De: Marcel May [SMTP:[EMAIL PROTECTED]] Date:

Netscape redirector using ajp13 and Tomcat 3.2.3

2001-10-02 Thread Wesley Gamble
All, Does the Netscape redirector for Tomcat 3.2.3 support ajp13? If so, are there binaries available or do I need to build the DLL myself? Thanks for any help, Wes Gamble [EMAIL PROTECTED]

Webdav: how do I get to JSP source?

2001-10-02 Thread Ray Allis
... or anything else tomcat modifies during retrieve? Ray Allis

Using java bean

2001-10-02 Thread Roberto B.
I'm using Tomcat 3.2.3. I use java beans for my site (myapp). 1) I place my beans under dir: /webapps/myapp/WEB-INF/classes. Is it right? 2) Every time I change a bean, I compile it and I must restart Tomcat to get this changes ... Is it right?.. or is there another way to do this? Roberto.

Tomcat 4.0 Startup Defect

2001-10-02 Thread Brent Denver
I’ve got Tomcat 4.0 installed using JDK1.3.1 on Windows 2000 Professional. I have been able to successfully call a TestServlet that I deployed to it. However, when I put the j2ee.jar archive in the $CATALINA_HOME/lib directory (for the EJB package), Tomcat won’t even start successfully. The log

Re: Load balancing explanation needed - please

2001-10-02 Thread Uniti Marco
Hi for load balancing with Tomcat you can use mod_jserv or mod_jk Marco [EMAIL PROTECTED] wrote: Only one problem with this answer: I am using Tomcat, not JServ. The configurations are totally different. JDL Uniti Marco marco.uniti@info

RE: Tomcat 4.0 Startup Defect

2001-10-02 Thread Dan Silcox
The J2EE jar contains many of the same api's that Catalina does in /common/lib such as servlet.jar, mail.jar, etc. You must either put the j2ee.jar under {your-app}/WEB-INF/classes/lib or remove from the j2ee.jar those api's that are used by Catalina. By the way, I've had this same problem

Re: mod_webapp

2001-10-02 Thread eirikdentz
I think I've run into the same problem: http://marc.theaimsgroup.com/?l=tomcat-userm=100189843118823w=2 I think the problem is in the apache-1.3/Makefile as indicated in this post: http://marc.theaimsgroup.com/?l=tomcat-userm=100196875807342w=2 It sure would be nice to be able to get

mod_jserv for Tomcat 3.1.1 with Apache 1.3.12 on HPUX 11.00

2001-10-02 Thread Arnaud Héritier
again me ;-) but for another question. I would like to know if someone have a compiled version of the mod_jserv.so or mod_jk.so for Apache 1.3.12 with Tomcat 3.1.1 under a HPUX 11.00. thanks in advance arno Arnaud HERITIER Ingénieur d'études SOPRA. Group EAI Consulting Tel :

AW: AW: Does Tomcat-3.2.3 supports Distributed Sessions ?

2001-10-02 Thread Ralph Einfeldt
I separate 2 things: - distributed session - failover sessions A distributed session means to me that you can have more than one instance of the same session at the same time. The reason you mention is just a requirement for failsafe sessions, where you always have only one session at a

RE: ...is not a servlet, yes I *have* RTFM, my jre/lib/ext is empty! -- fixed

2001-10-02 Thread Peter Ferne
FYI I fixed it by recompiling against the new jars. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 28 September 2001 14:48 To: [EMAIL PROTECTED] Subject: RE: ...is not a servlet, yes I *have* RTFM, my jre/lib/ext is empty! Also, check to make sure

Re: PJA and Tomcat 3.2.3

2001-10-02 Thread Paul Downs
I did get the PJA working once. I set exactly the same parameters but I set them in my tomcat startup script: Thanks, I will give that a whirl. Have since tried Xvfb and despite the fact that it runs fine I still get the cannot connect to display errors Paul

Re: Webapp and Tru64

2001-10-02 Thread Nikola Milutinovic
Yogesh Bhanu wrote: Hi Nikolai, Well I havent tried it, But on going thru my linux alpha box , it has stdint.h well it is gcc-2.95.4 what do ya say ..?? Iæm compiling on Tru64 UNIX, I have no doubt Linux has it. By the looks of it, mod_webapp is a LINUX utility

mod_webapp connector on WinNT/Win2000

2001-10-02 Thread John Cartwright
Hello All, is there a binary version of the mod_webapp connector available for Apache on Windows platforms? I see the linux and mac versions. Thanks! -- john = John Cartwright Professional Research Assistant / Associate Scientist CIRES,

Issue with running the tests

2001-10-02 Thread Jon Earle
Hi! New Tomcat user, familiar with Linux, etc, however, I know virtually nothing about Java. I'm in the process of moving an existing website using Jakarta on an NT system to a Linux server (RH7.1). I figured that I'd grab all the latest (Apache 1.3.20, latest mod_ssl, latest Tomcat [4.0]) and

mod_webapp connector on linux

2001-10-02 Thread John Cartwright
Hello All, I'm trying to establish a connection between apache 1.3.20 and tomcat4 using the binary distribution of the mod_webapp connector. I added the following lines to my httpd.conf file via Include directive: LoadModule webapp_module modules/mod_webapp.so AddModule mod_webapp.c

Will tomcat sessions work with IE6?

2001-10-02 Thread Brandon Cruz
Just out of curiosity, is there a way to set tomcat so that the session cookies it sets will contain the privacy policy that is required by default settings in IE6? If not, does that mean that every application is going to have to store the session in the URL to work with IE6? Thanks! Brandon

RE: Can't use Cookies in tag libraries ?????

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Arnaud Héritier wrote: Date: Tue, 2 Oct 2001 12:12:33 +0200 From: Arnaud Héritier [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] [EMAIL PROTECTED] To: Tomcat-User (Adresse de messagerie) [EMAIL PROTECTED] Subject: RE: Can't use Cookies in tag

RE: Is tomcat4 and jdk1.4beta2 combination okay?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Randy Layman wrote: Date: Tue, 2 Oct 2001 08:22:02 -0400 From: Randy Layman [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Is tomcat4 and jdk1.4beta2 combination okay? Tomcat is indicating that it can't find JavaC (thus the

Re: My java.security.AccessControlException@Waterloo.be

2001-10-02 Thread Frank Lawlor
Third try since I never saw this show up: Do you need to specify a security provider in java.security, e.g., security.provider.3=com.sun.crypto.provider.SunJCE (the above is for Sun's encryption provider). Frank Lawlor Athens Group, Inc. (512) 345-0600 x151 Athens Group, an employee-owned

Re: Tomcat 4.0 access log DIES all the time for no reason

2001-10-02 Thread Craig R. McClanahan
Can you please post a stack trace, and describe exactly what you're doing. I don't know what the log DIES means. Craig On Tue, 2 Oct 2001, André de Jesus wrote: Date: Tue, 02 Oct 2001 13:23:56 +0100 From: André de Jesus [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED]

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Epling, Bob wrote: Date: Tue, 2 Oct 2001 08:35:18 -0600 From: Epling, Bob [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: tomcat4 and JDBCRealm problem Craig, Thanks for the advice. For grins I wrote a quickie program in java that

Re: Hekp regarding Heap Settings

2001-10-02 Thread Ray Pitmon
Quoting Mohbe, Sameer [EMAIL PROTECTED]: Hi Everyone, Gentlemen i need some help regarding the Heap seetings in JVM. The environment is Linux 7-Tomcat -JDK1.3 .Right now the Heap settings are set to default)i.e. Minimim=1 and Max=64MB. How do we change the

Re: Using Reflection in Tags? Good?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Hunter Hillegas wrote: Date: Tue, 02 Oct 2001 07:45:17 -0700 From: Hunter Hillegas [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat User List [EMAIL PROTECTED] Subject: Using Reflection in Tags? Good? I have the Manning book, JSP Tag Libraries which I've been

Re: mod_webapp connector on linux

2001-10-02 Thread David Ward
John, I have the same exact setup and had the same exact problem. After searching the user lists, I found I had to *uncomment* this line in my httpd.conf file: #ServerName localhost It seems that mod_webapp cares about it, though mod_jk didn't. (The eapi thing is just a warning, and Apache

How do I know what security manager is in use?

2001-10-02 Thread Frank Lawlor
There are now (at least) 3 different web security managers which could be in use by a web app (JDBC, JNDI, in-memory). How can I tell which one? I am writing some general support classes to manage users and roles. To support a call like addUser() I need to know which security manager is in

Re: tomcat4 and JDBCRealm problem

2001-10-02 Thread Brian Richards
If you are using Tomcat 4 put it in CATALINA_HOME\common\lib - Original Message - From: Epling, Bob [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 10:35 AM Subject: RE: tomcat4 and JDBCRealm problem Craig, Thanks for the advice. For grins I wrote a quickie

RE: ResultSet

2001-10-02 Thread Siomara Pantarotto
Sorry Claudia, I never worked with pagination. I also don't know if you are referring to just a bean or EJB. Try to make it simple first. Have you tried??? Siomara PS: Thanks for visiting my page. From: Claudia Sarmiento [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: '[EMAIL PROTECTED]'

Re: How do I know what security manager is in use?

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, Frank Lawlor wrote: Date: Tue, 2 Oct 2001 11:29:41 -0500 From: Frank Lawlor [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED], [EMAIL PROTECTED] To: Tomcat (E-mail) [EMAIL PROTECTED] Subject: How do I know what security manager is in use? There are now (at least) 3

RE: ResultSet

2001-10-02 Thread Siomara Pantarotto
Try to understand the scope. If your bean passes the resultset but the connection is lost I think you lose the reference for the result set too. I am not sure. I gues I have a JSP example that reads a table and populate a combo box. Does it help. Let me know so I can send as example. Sio

RE: tomcat4 and JDBCRealm problem

2001-10-02 Thread Epling, Bob
Craig, Thanks for the help... I guess I need to get my glasses checked... When I read step 3 I read it as $CATALINA_HOME/lib without the server... I will read more carefully next time... Thanks again, Bob Epling -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]

Saving files from Tomcat

2001-10-02 Thread Mark Muffett
I have to save some data in files from a servlet (can't get blobs to work with JDBC) - is there any good (portable) way to express the directory path? I'm just worried that an absolute path is going to cause problems if the site is moved. Thanks for any help Mark Muffett

RE: Issue with running the tests

2001-10-02 Thread Larry Isaacs
There was an improvement in Ant 1.4 that is incompatible with the GTest currently in Tomcat 3.2.3. The result of this incompatibility is the error you are seeing. The simplest solution is to use Ant 1.3 when building Tomcat 3.2.3. However, you can replace the v1.4 ant.jar placed in the built

Problem with setting up Tomcat 3.2.3 in win98

2001-10-02 Thread 97612384g
Hi, I installed the Tomcat 3.2.3 in my home computer (running win98) and followed the Tomcat User Guide to test it. However, I still got the exception error in starting Tomcat! Exception in thread main java.lang.NoClassDefFoundError: c:\tomcat Please advise. Note: - I installed the tomcat

Can I do this in login.jsp?

2001-10-02 Thread Gerry Duhig
I want login.jsp to take the user input username and pasword, pass them to a servlet to carry out some specialist actions including writing a cookie then pass the input to j_security_check so that authentication takes place. Is that possible? Anyone got an example I can see? Gerry

tomcat-jboss error

2001-10-02 Thread Papo Napolitano
I've a webapp running ok, but every time that a made a rebuild of it a got the following error if I don't restart tomcat server. Anybody can help ?? Error: 500 Location: /usermanager/index.html Internal Servlet Error: java.lang.IllegalStateException: Can't happen - classname is null, who

Re: ResultSet

2001-10-02 Thread Frank Lawlor
Many of the especially older jdbc drivers did a very poor job of implementing the spec and many of the methods were not implemented. What database/driever are you using? Often the documentation was poor. You can try getting the latest driver and checking what was supported. Frank Lawlor

RE: Saving files from Tomcat

2001-10-02 Thread Randy Layman
The way that we deal with this is have a system configuration parameter to indicate the path. The system configuration is either stored in the database or some properties file in the classpath, then when the app moves (or we deploy to a different server) we just edit the configuration.

attibute has no value

2001-10-02 Thread John J Brecht
I'm having a very simple problem. I am attempting to migrate some applications that ran fine under ServletExec to Tomcat 4.0. Jasper fails to parse my JSPs, throwing the folling error: 2001-10-02 10:46:44 ApplicationDispatcher[/DLServlet] Servlet.service() for servlet jsp threw exception

Re: attibute has no value

2001-10-02 Thread Craig R. McClanahan
On Tue, 2 Oct 2001, John J Brecht wrote: Date: Tue, 02 Oct 2001 11:49:50 -0700 From: John J Brecht [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Tomcat [EMAIL PROTECTED] Subject: attibute has no value I'm having a very simple problem. I am attempting to migrate some applications

Re: Taglibs Jasper CompileException

2001-10-02 Thread James Adams
It turns out that the unterminated description element which was causing the CompileException was actually in the web.xml file. Strange that I never get any errors or exceptions when web.xml is processed during a restart of Tomcat. -James

Re: attibute has no value

2001-10-02 Thread John J Brecht
Doh! - the missing quote was definitely the problem. I just assumed that all the syntax was right since ServletExec never complained. Another thing that ServletExec never complained about was not being able to find the class String. Even if I import java.lang.String, this page doesn't parse

socket timeout

2001-10-02 Thread Luis Rodrigues Marques
Hi, I would like to change the time my doPost method is waiting for some data in a socket (by default is 5 min.). is it possible, and if it is, how to set in a configuration file (server.xml or web.xml) a timeout period for this situations? thanks in advance! Luis

How to get an Applet to run in a JSP ?

2001-10-02 Thread James Adams
I have an applet which runs fine when I include it in a HTML page, but whenever I try to include it in a JSP I get a pop-up message from my browser (Netscape 4.78) telling me that I need to download the Java plugin. I get the same behavior when testing with Internet Explorer. Obviously I already

Re: Will tomcat sessions work with IE6?

2001-10-02 Thread Bavo De Ridder
Hi, I use IE6 together with Tomcat and I didn't encounter any problems ... Bavo - Original Message - From: Brandon Cruz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, October 02, 2001 6:12 PM Subject: Will tomcat sessions work with IE6? Just out of curiosity, is there a way

RE: Will tomcat sessions work with IE6?

2001-10-02 Thread Reynir Hübner
I´ve also made few tests on this, sessions are being created both when user is logged on and not. the only thing I noticed was I could not find the cookie file that get´s created in the cookies folder of the userprofile. hope it helps -r -Original Message- From: Bavo De Ridder

Where to put ServletContextListener?

2001-10-02 Thread James Turner
I'm trying to use a ServletContextListener to initialize Turbine standalone for my application. Here's the class: package com.bfg.services; import org.apache.turbine.util.TurbineConfig; public class BfgListener implements javax.servlet.ServletContextListener { public void

Pool connection to database

2001-10-02 Thread Pablo Morillas
Hello all. I have a problem that I suppose is resolved by Tomcat. I'm using Tomcat 3.2 and I can connect to an Oracle 8i database. The problem is that a process is created by oracle in any connection to the database done from mines servlets. I want to use a pool of connection for limit the

Tomcat 4.0 and XML Parsing

2001-10-02 Thread Bob Byron
I am having trouble figuring out exactly how to deploy my war file. I have deployed war files before without any problems, but this is the first time I have include XML parsing code to parse a configuration file. I was successfully able to run and parse the configuration file as a stand alone

Deploying Applications in Tomcat 4 - HELP

2001-10-02 Thread Henry Yeh
I am a first time user of Tomcat and I am using Tomcat 4. The documentation that came with the release is not quite helpful. Does anyone have a good documentation / reference that talks about the steps to successfully deploy a tomcat application ? thanks !!! Henry

  1   2   >