RE: sweeping stale connections - Commons DBCP and Tomcat 4.1.9

2002-08-27 Thread Jay Gardner
Hi Paul, I don't have experience with this pool, but I have experienced this disconnection problem with mysql. Got around it using the mysql parameter autoReconnect=true. I would suggest trying either of the following: parameter nameautoReconnect/name valuetrue/value

RE: creating virtual hosts - HOW TO?

2002-08-27 Thread neal
Are you referring to the action servlet of Struts? I just want the default URL to be www.hotel.us rather than www.hotel.us/index.html. Granted, they mean the same thing (if index.html is the default page) ... I just thought it was more graceful for it show only the URL where possible. Is there

setting classpath variable

2002-08-27 Thread randie ursal
hi, i have this newbie question. here is the scenario, i have a servlet that will read a .properties file and i make use of PropertyResourceBundle to read the value from it. the problem is that the PropertyResourceBundle doesn't find the properties file. the API for ResourceBundle

Tomcat Realms with Digested Passwords -Urgent- ( A little longish...)

2002-08-27 Thread ahmet dalli
Hi all, I am trying to use JDBCRealm to store user login information in an oracle database. I am working on a Windows2000 machine, using jdk1.4, and Tomcat4.0.4. In server.xml, i have this configuration: ^^ Realm

RE : RE : Bugzilla down, can't submit tomcat bug

2002-08-27 Thread Michael
I was able to troubleshoot the problem. When I trimmed down my summary to just one paragraph, it worked. I then tried to add the rest of my summary to the bug and it hangs. So something in my summary is screwing up the processing. I'm not sure what it is but I submitted the bug with a

Re: portal example fails

2002-08-27 Thread Murray Cumming
No, I never got the portal example to work. Please reply to the list in future. On Mon, 2002-08-26 at 20:40, Kenneth J. Hughes wrote: Hi Murray, did you resolve this problem? (I'm having the same problem, even after having copied xercesImpl-xxx.jar xml-apis.jar xalan-xxx.jar into

OT: mm.mysql 2.0.8 : unwanted query output : solution

2002-08-27 Thread Power-Netz \(Schwarz\)
Just informational for JDBC + MySQL user: If someone still uses the mm.mysql2.0.8 jdbc driver (maybe other versions too), you will have unwanted output from the driver in your stdout. class EscapeProcessor { . --- System.out.println(Query is: + stringbuffer1.toString());

How can I see log4j output on the console?

2002-08-27 Thread Michael
My log4j log messages go to a logfile but I'd really like to see them in the console output. Is it possible to do this?? Michael -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Problem installing webapp on a network share with win2k

2002-08-27 Thread Marc-Henri PAMISEUX
Hi, I trying to configure Tomcat 4.0.4 on a Win2k Workstation. CATALINA_HOME is E:\intranet\programmes\tomcat I moved E:\intranet\programmes\tomcat\webapps in C:\intranet\sites. I modified E:\intranet\programmes\tomcat\conf\server.xml and declare a Host with appBase=C:\intranet\sites When i

RE: How can I see log4j output on the console?

2002-08-27 Thread Andy Eastham
Michael, Here's an example config file that logs to a file and the console. Andy -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: 27 August 2002 09:16 To: Tomcat Users List Subject: How can I see log4j output on the console? My log4j log messages go to a

Very strange bean behaviour

2002-08-27 Thread Nathan Hoh
I'm getting really weird behaviour with a bean that I'm using in a JSP page. This bean has 2 Date properties (there are others but they work fine): private Date fromDate; private Date endDate; that have the corresponding get set methods: public String getFromDate()

Loading properties files

2002-08-27 Thread Laurent Michenaud
Hi, Could u tell me what is not correct with that : Before we had that ( the properties files were in WEB-INF/classes ) and that works : package com.a2a.util ; public interface A2aConstantes { public static final String SCHEMA = java.util.ResourceBundle.getBundle(db).getString(schema); }

RE : How can I see log4j output on the console?

2002-08-27 Thread Michael
Here is the log4j.properties file I'm using. I think this is more of an issue with Tomcat. I have a servlet that kicks off a TimerTask, and my log4j output inside this task does show up on the console. But my log4j output from regular java classes (called via a servlet) does not.

Problem writing my own valve / ManagedBean is not found

2002-08-27 Thread Andrei Svirida
Hello, i've written my own valve class, say MyTestValve. It works correctly but when starting the tomcat i see an exception: -- ServerLifecycleListener: createMBeans: MBeanException java.lang.Exception: ManagedBean is not found with MyTestValve at

How to configure multiple tomcat instances connecting to apache using thewarp connector

2002-08-27 Thread Jochen Schweflinghaus
Hi Group, I'm quite a newby in the tomcat community, so please apologize any misuse of the nomenclature. to set up a development environment, I try to map multiple instances of tomcat to apache using the warp connector. Tomcat instance 1 connects to virtual host tteflon3 and has CATALINA_BASE

Apache 2 and the mod_webapp on FreeBSD

2002-08-27 Thread Vincent Berruchon
Hello, I'd like use the mod_webapp connector to integrate Tomcat 4.0.3 (or later if I got to) with Apache on my FreeBSD 4.6 server. So my first question is: does it work with Apache 2 (2.0.39 for the moment) or should I use Apache 1.3? and if it works what is the procedure to install the

Re: Loading properties files

2002-08-27 Thread Alan Tingley - Iperia
Your properties file must be in a location that Tomcat knows about via its classpath (WEB-INF/classes is on Tomcat's classpath, that's why it worked when your file was there). See the Tomcat docs under Classpath How-to, which describes the class loaders in Tomcat. Alan Tingley - Original

Re: Loading properties files

2002-08-27 Thread randie ursal
why is it tomcat could not locate the property file if i place it on the package directory structure of my servlets?...it is still on the WEB-INF/classes directory isnt it? just need some more clarifications. e.g WEB-INF/classess/com/test/MyProperty.properties thanks Alan Tingley - Iperia

RE: Loading properties files

2002-08-27 Thread Laurent Michenaud
I can't find the documentation u speak about. Could u give me the url ? -Message d'origine- De : Alan Tingley - Iperia [mailto:[EMAIL PROTECTED]] Envoyé : mardi 27 août 2002 12:15 À : Tomcat Users List Objet : Re: Loading properties files Your properties file must be in a

connection pooling

2002-08-27 Thread michael wimmer
hi, I use protomatter (protomatter.sourceforge.net) for connection pooling and for now it seems to work pretty well. However, in this group and in the tomcat documentation, connection pooling seems always been mentioned in relation to JNDI or tyrex. Could anybody provide me with some

problems compiling Apache module mod_webapp.so !

2002-08-27 Thread Júlio Adrian Miño Van Helden
Hi, my name is Julio and i leave in brasil. I try to use apache web server + tomcat and i need to compile the module mod_webapp.so but i can´t do it. Is someone help me ?

Tomcat 4.0.4 under Windows NT crashes with system error: memorycannot be read

2002-08-27 Thread Jocelyn Paine
I'm using Tomcat for Java and JSP in a large server-side application. My Web browser is also running on this machine (a 64 MB Dell Latitude laptop), using loopback to connect to the server. Most of this works fine. However, in a few parts of the application, Tomcat crashes: Application Error.

RE: sweeping stale connections - Commons DBCP and Tomcat 4.1.9

2002-08-27 Thread Paul Phillips
Hello I would suggest trying either of the following: parameter nameautoReconnect/name valuetrue/value /parameter I know that the above does not work... I tried it. or parameter nameurl/name

RE: Problem writing my own valve / ManagedBean is not found

2002-08-27 Thread Cox, Charlie
where is ManagedBean.class located? It *must* be in /common/lib or /server/lib in order for it to be found by your valve. See the classloader document for more info. Charlie -Original Message- From: Andrei Svirida [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 5:10 AM To:

strange behavior with mod_jk

2002-08-27 Thread Peter Choe
i am using apache 1.3.26 to server my static webpages on one server and connecting to a separate tomcat 3.1 server through mod_jk. when i start up apache, it is able to connect to the webapps fine. but after several minutes, something strange happens. if i put in the url of one

Re: Loading properties files

2002-08-27 Thread Alan Tingley - Iperia
try http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html Al - Original Message - From: Laurent Michenaud [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, August 27, 2002 7:09 AM Subject: RE: Loading properties files I

RE: problem: cannot autorecompile jsp

2002-08-27 Thread Pooleery, Manoj
I had similar problems with JSP and tomcat. The reason why changes in JSP is not getting reflected in the browser may be a browser issue also. For me, IE used to cache everything. So, even if I change my JSP, it was to no effect. I had to force IE to refresh. To do this, I added refresh

Apache Tomcat SSL Integration

2002-08-27 Thread Tyrone Buckle
Hi all. I have an Apache install that serves all my static html pages and a Tomcat install that serves a JSP user registration system. I have the two talking to one another using mod_webapp and everything is fine. The thing is I need to use SSL for my user registration system. How do I tell

RE: Apache Tomcat SSL Integration

2002-08-27 Thread Turner, John
You don't need to. Just setup SSL on Apache. You only need SSL on tomcat if you are using tomcat in stand-alone mode. John Turner [EMAIL PROTECTED] -Original Message- From: Tyrone Buckle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 8:31 AM To: [EMAIL PROTECTED]

Re: Apache Tomcat SSL Integration

2002-08-27 Thread Peter Choe
you can use mod_ssl and have apache handle the ssl connections to tomcat. At 08:30 AM 8/27/2002, you wrote: Hi all. I have an Apache install that serves all my static html pages and a Tomcat install that serves a JSP user registration system. I have the two talking to one another using

Re: Apache Tomcat SSL Integration

2002-08-27 Thread Tyrone Buckle
Cool, is there some good documentation for this somewhere. Thanks for the quick response! Peter Choe wrote: you can use mod_ssl and have apache handle the ssl connections to tomcat. At 08:30 AM 8/27/2002, you wrote: Hi all. I have an Apache install that serves all my static html pages and

Re: Apache Tomcat SSL Integration

2002-08-27 Thread Peter Choe
www.mod_ssl.org At 08:39 AM 8/27/2002, you wrote: Cool, is there some good documentation for this somewhere. Thanks for the quick response! Peter Choe wrote: you can use mod_ssl and have apache handle the ssl connections to tomcat. At 08:30 AM 8/27/2002, you wrote: Hi all. I have an

RE: Apache Tomcat SSL Integration

2002-08-27 Thread Turner, John
http://www.modssl.org John Turner [EMAIL PROTECTED] -Original Message- From: Tyrone Buckle [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 8:40 AM To: Tomcat Users List Subject: Re: Apache Tomcat SSL Integration Cool, is there some good documentation for this

RE: help with redirect

2002-08-27 Thread Cox, Charlie
actually, you can use a filter(tc4) to check the request type for all requests and do a redirect there so you only have the code in one place and it would cover all servlets and jsp's. Charlie -Original Message- From: Billy V. Kantartzis [mailto:[EMAIL PROTECTED]] Sent: Thursday,

please help me!!! [repost]

2002-08-27 Thread Peter Choe
i am using apache 1.3.26 to server my static webpages on one server and connecting to a separate tomcat 3.1 server through mod_jk. when i start up apache, it is able to connect to the webapps fine. but after several minutes, something strange happens. if i put in the url of one

The requested resource (/login/j_security_check) is not available

2002-08-27 Thread Dick de Jong
Dear all, I've installed tomcat4.0 and a simple website used for testing authentication (JNDI Realm). I have the following problem. The authentication (against LDAP) works fine. I'm redirected to the index.htm page (simple main page). But when I press the back button and go back to the login

Re: sweeping stale connections - Commons DBCP and Tomcat 4.1.9

2002-08-27 Thread Glenn Nielsen
I had this same problem, appending ?autoReconnect=true to your connect URL does work. Regards, Glenn Paul Phillips wrote: Hello I would suggest trying either of the following: parameter nameautoReconnect/name valuetrue/value /parameter I know that the above does

Re: i can't acces absolute symbolic link created with ln -s comma nd on LINUX

2002-08-27 Thread Irina Lishchenko
On Monday 26 August 2002 22:43, you wrote: Any ideas on this bug? I can not give too much ideas only some facts I posted exactly the same question before and got no response. jsp:include seems not working with symlinked directory. It works on 4.0 version, but stops working on 4.1

Re: connection pooling

2002-08-27 Thread Glenn Nielsen
The advantage of letting the container (Tomcat) setup a JNDI DataSource is abstraction. It abstracts out the source of data from the web application. You no longer have to configure somewhere within your web application the db connection, user, password, etc. This allows you to have a

JSP and MAC line breaks

2002-08-27 Thread Andre Schild
Hello, today we just noted, that all line breaks inside of JSP files are lost, when the CR is used as line break. When using dos or linux style line ending, then everything is fine. Is it realy so, that macintosh style lineendings aren't processed correctly ? André -- To unsubscribe, e-mail:

Re: Loading properties files

2002-08-27 Thread Glenn Nielsen
java.util.ResourceBundle.getBundle() uses the current ClassLoader to load your resource bundle. That means that your properties have to either be located with a jar file in /WEB-INF/lib or in your /WEB-INF/classess directory. This isn't a limitation of Tomcat, this is how resource bundles work.

RE: Loading properties files

2002-08-27 Thread Laurent Michenaud
So, how can i modify my interface so that it reads the file properties db in WEB-INF/config ? -Message d'origine- De : Glenn Nielsen [mailto:[EMAIL PROTECTED]] Envoyé : mardi 27 août 2002 15:32 À : Tomcat Users List Objet : Re: Loading properties files

Re: setting classpath variable

2002-08-27 Thread Paul Brinkley
At 02:46 PM 8/27/2002 +0800, randie ursal wrote: here is the scenario, i have a servlet that will read a .properties file and i make use of PropertyResourceBundle to read the value from it. the problem is that the PropertyResourceBundle doesn't find the properties file. the API for

Apache 2?

2002-08-27 Thread Vincent Berruchon
Does somebody know if the mod_webapp connector work with Apache 2 and Tomcat 4.0.3? Thanks Vincent PS : Do you know where to find a FreeBSD versoin of mod_webapp? -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Re: connection pooling

2002-08-27 Thread Ashish Kulkarni
Hi, A Question about JNDI, to use it i have to configure it in server.xml file, suppose if i have to change my app server , say to JRun, or Weblogic or websphere...how will it affect me,i think since all these are J2EE compliant servers, they must have some place for defining it, also what if i

Re: pgSQL connection pooling

2002-08-27 Thread Alexander Wallace
On Mon, 2002-08-19 at 15:04, Felipe Schnack wrote: Well, this poolman isn't updated anymore... how can I use tomcat's own connectionpooling? IF you still need help with using tomcat's connection pooling with postgresql, let me know, I'm using that. On Mon, 2002-08-19 at 10:51, V.

Using a Webapp on a network share

2002-08-27 Thread Marc-Henri PAMISEUX
Hi, Is it possible to use Tomcat with a Webapp on a network share (with NFS or SMB) ? If i mount a network share in /mnt/Dev could i write appBase=/mnt/Dev/webapp in the Host section of server.xml file ? I believe some problem... Thanks Marc-Henri -- To unsubscribe, e-mail:

Re: Using a Webapp on a network share

2002-08-27 Thread Tim Funk
Yup - I had my Win2K machine load a webapp on a HPUX samba share. But for some reason (for which I don't know or care) - the sharing was REAL slow with respect to performance. eg: (Assume drive O is mounted) Context path=/shmoopy docBase=O:/www/shmoopy debug=0/ Marc-Henri PAMISEUX wrote:

Re: Loading properties files

2002-08-27 Thread Alan Tingley - Iperia
we're using something like (off the top of my head): System.getResourceAsStream(com/domain/package/file.properties) and that works; until we fixed our app deployment structure, we had to use getSystemResourceAsStream (we were putting things in common/lib when we shouldn't have). Al -

JDBCRealm + Form Based Auth. How do I tell it were to go if loginis ok?

2002-08-27 Thread Alexander Wallace
Hello there. Very new to realms and java, so sorry if this is too stupid. I have set up a JDBCRealm using PostgreSQL and it all seems to work, It does connect and load the roles, and when I try to access protected resources, it does go to the Form based login I specigy in web.xml and the error

RE: Modifying Tomcat to have WEB-INF/config in Classpath

2002-08-27 Thread Larry Isaacs
Hi, Since there is a thread for this here on tomcat-user, I'm replying here instead of tomcat-dev. I think you would save yourself a lot of trouble if you settled for putting db.properties in WEB-INF/classes/config and used: java.util.ResourceBundle.getBundle(config.db).getString(schema)

RE: RE : How can I see log4j output on the console?

2002-08-27 Thread Pooleery, Manoj
Also, instead of using System.out to printout diagnostic messages, use logger.debug( ). This will output the messages to the console. -Original Message- From: Michael [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 4:41 AM To: 'Tomcat Users List' Subject: RE : How can I see

RE : RE : How can I see log4j output on the console?

2002-08-27 Thread Michael
I am using both System.out and log.fatal() and neither appear on the console. -Original Message- From: Pooleery, Manoj [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 2:34 PM To: 'Tomcat Users List' Subject: RE: RE : How can I see log4j output on the console? Also,

Re: Using a Webapp on a network share

2002-08-27 Thread Marc-Henri PAMISEUX
Tim Funk wrote: Yup - I had my Win2K machine load a webapp on a HPUX samba share. But for some reason (for which I don't know or care) - the sharing was REAL slow with respect to performance. eg: (Assume drive O is mounted) Context path=/shmoopy docBase=O:/www/shmoopy debug=0/ Thanks

JDBCRealm + Form Bases Auth. How do I tell it were to go if loginis ok?

2002-08-27 Thread Alexander Wallace
Hello there. Very new to realms and java, so sorry if this is too stupid. I have set up a JDBCRealm using PostgreSQL and it all seems to work, It does connect and load the roles, and when I try to access protected resources, it does go to the Form based login I specigy in web.xml and the error

Tomcat Running on IIS 4.0

2002-08-27 Thread RBroxterman
I am running Tomcat on top of IIS 4.0 NT 4.0 SP6a. I keep running into a problem where the webpage will not load in the browser. To fix the problem is all I have to do is restart that web page. I am not seeing any error in the log file and I am not sure why this is happening. Has anyone seen this

Re: Using a Webapp on a network share

2002-08-27 Thread Tim Funk
Instead of: docBase=N:\intranet\sites\ROOT try: docBase=N:\\intranet\\sites\\ROOT OR docBase=N:/intranet/sites/ROOT Marc-Henri PAMISEUX wrote: Tim Funk wrote: Yup - I had my Win2K machine load a webapp on a HPUX samba share. But for some reason (for which I don't know or care) -

Re: JVM crashes when using JSSE

2002-08-27 Thread Tim Koop
In case you're curious, I tried it with Sun's Java SDK 1.4.1 and all works fine. Tim Koop www.timkoop.com - Original Message - From: Tim Koop [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, August 23, 2002 4:08 PM Subject: JVM crashes when using JSSE I have Tomcat working fine,

Re: Using a Webapp on a network share

2002-08-27 Thread Marc-Henri PAMISEUX
Tim Funk wrote: Instead of: docBase=N:\intranet\sites\ROOT try: docBase=N:\\intranet\\sites\\ROOT OR docBase=N:/intranet/sites/ROOT And i've try also file:///N:/intranet/sites/ROOT but nothing works. Now, to simplify, i've changed the value to appBase=N:/intranet/sites, and

Multiple SSL and TOMCAT ?????

2002-08-27 Thread Torsten Fohrer
How do i get Multiple SSL Hosts working on 1 Tomcat ? regards Torsten Fohrer -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]

Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Michael Nicholson
Well, I guess the subject line says it all. I'm having memory issues, and having read the OOM error messages on the list, I've checked and found some open and not being closed connections, so I'm going back and closing them all. The question is do I need to explicitly close/dereference (set

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Durham David Cntr 805CSS/SCBE
Closing the resultsets, statements and connections frees up database resources. In the case of connection pooling, a call to the close() method may actually be releasing the connection back into the pool. -Original Message- From: Michael Nicholson [mailto:[EMAIL PROTECTED]] Sent:

Re: JDBCRealm + Form Based Auth. How do I tell it were to go iflogin is ok?

2002-08-27 Thread Craig R. McClanahan
On 27 Aug 2002, Alexander Wallace wrote: Date: 27 Aug 2002 09:17:58 +0100 From: Alexander Wallace [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: JDBCRealm + Form Based Auth. How do I tell it were to go if login is ok?

where is mod_jk.so?

2002-08-27 Thread Don
Hello, I am trying to integrate Apache 1.3.26 with Tomcat 4.0.3 binary on Solaris 5.8. Any pointers to good references on this would be appreciated. I have found some info, regarding httpd.conf edits etc. My biggest problem now is coming up with mod_jk.so, source, binary... Where do I find this

RE: Loading properties files

2002-08-27 Thread Craig R. McClanahan
On Tue, 27 Aug 2002, Laurent Michenaud wrote: Date: Tue, 27 Aug 2002 15:43:29 +0200 From: Laurent Michenaud [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Loading properties files So, how can i

Re: Does closing a Connection variable and setting it to null closeall of the ResultSet and Statements?

2002-08-27 Thread Tim Funk
It is not requried to close ResultSets, Statements, etc if you close the connection. (I think) The spec says if you close a connection - all associated resources for that connection will also be closed. If you are using a pool - the pool manager *should* be obeying this principal too.

Re: Using a Webapp on a network share

2002-08-27 Thread Marc-Henri PAMISEUX
Tim Funk wrote: Yup - I had my Win2K machine load a webapp on a HPUX samba share. But for some reason (for which I don't know or care) - the sharing was REAL slow with respect to performance. eg: (Assume drive O is mounted) Context path=/shmoopy docBase=O:/www/shmoopy debug=0/ I've

Re: Does closing a Connection variable and setting it to null closeall of the ResultSet and Statements?

2002-08-27 Thread Craig R. McClanahan
On Tue, 27 Aug 2002, Tim Funk wrote: Date: Tue, 27 Aug 2002 12:03:18 -0400 From: Tim Funk [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Subject: Re: Does closing a Connection variable and setting it to null close all of the

one last plea for help

2002-08-27 Thread Peter Choe
i am desparate. can anyone help me? i am using apache 1.3.26 to server my static webpages on one server and connecting to a separate tomcat 3.1 server through mod_jk. when i start up apache, it is able to connect to the webapps fine. but after several minutes, something strange happens. if

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Short, Dave
By closing you mean set the ResultSet and Statement objects to null - correct? -Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: August 27, 2002 9:06 AM To: Tomcat Users List Subject: Re: Does closing a Connection variable and setting it to null close all of

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Andrew Conrad
Michael, As per the Java documentation, resultsets are closed when the statement is closed, and Statement's are closed during garbage collection. But in my own opinion, it's better to close them individually and explicitly, so you the programmer know it is done, and someone reading your code

Ajp13Processor process invoke NoSuchMethodError

2002-08-27 Thread Jill Veronda
I am using Tomcat 4.0.4, Apache 1.3.12, JDK 1.3.1 on Windows 2000 Server. When trying to run a jsp file I get the error: 2002-08-26 12:02:36 Ajp13Processor[8009][2] process: invoke java.lang.NoSuchMethodError at

Re: Using a Webapp on a network share

2002-08-27 Thread Marc-Henri PAMISEUX
Andrew Conrad wrote: I'm not sure if this relates to samba, but most issues with mapped drives is with the service account, if you are running Tomcat as a service. Try creating an account specifically for Tomcat, then log on as Tomcat and map the drive ( check reconnect at logon ). Make

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Andrew Conrad
No, you should invoke .close() on your resultset and statement object. Setting to null is also a good idea, but not as important as closing the objects. - Andrew -Original Message- From: Short, Dave [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 12:09 PM To: 'Tomcat

Re: Tomcat Realms with Digested Passwords -Urgent- ( A little longish...)

2002-08-27 Thread Rick Fincher
Hi Baris, I tried: java -classpath CATALINA_HOME/server/lib/catalina.jar org.apache.catalina.realm.RealmBase -a MD5 aksu And got: aksu:394e654ca65973f232653fb0008c603d So that seems to be working correctly. You may want to try changing auth-methodBASIC/auth-method, to

javax directory

2002-08-27 Thread Reis, Tom
What is the javax directory. I know there is one in the Tomcat-docs but I thought there class files and not just html files. The reason I am asking this question is I have a java program that has the following code: import javax.servlet.*; import javax.servlet.http.HttpServlet; I receive errors

RE: OUT OF MEMORY ERROR

2002-08-27 Thread Patrick Codere
Hi mike, Well, i tried changing the jvm through catalina.bat (tc 4.0.4) by adding the Catalina_opts = -Xms512m -Xmx512m but it seems it didn't change anything in the total memory cause I still see it being at 66m (www.motovan.com/MemoryTest.jsp) Anyways, I am reverting back to html for

Re: one last plea for help

2002-08-27 Thread Michael E. Locasto
Peter, Your last comment is a little unclear - do you mean that you request 1 URL and it gets redirected to another, or that you see some page that you think shouldn't be in the current web app? I think more information is in order, specifically, your relevant configuration information,

Re: javax directory

2002-08-27 Thread Randall R Schulz
Tom, The javax _package_ is for so-called standard extensions to the Java libraries. The package javax.servlet are the servlet classes (duh!). Javax.servlet.http contains the HTTP servlet classes. Javax.servlet.http.HttpServlet is the abstract for all Servlet classes accessed via the HTTP

Re: javax directory

2002-08-27 Thread Michael E. Locasto
What exactly are the errors? If you are writing a servlet (or some other class that imports something from the javax.servlet package) you need servlet.jar in your CLASSPATH so your java compiler knows where to find the class definitions. The Java 2 SDK does not come with the 'javax.servlet'

Java FTP and Tomcat

2002-08-27 Thread Jacob Hookom
Does anyone know if there is a FTP connector(?) for Tomcat? If not, is it something that's doable with Tomcat? Regards -Jacob --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.381 / Virus Database: 214 - Release Date: 8/2/2002

Tomcat and SSL

2002-08-27 Thread Mario Klaver
Hello all, I've the following question: I have two application running under one instance of tomcat. One application must run on the normal http port (8080) and the other must run on a secure port (8443). How is this possible? Because I enabled two connectors in server.xml and now both

Re: one last plea for help

2002-08-27 Thread Peter Choe
thanks for replying back. what happens is in the browser i type the url of the page i want. but sometimes i see some page that shouldn't be in the current web app. the url is current, the content is incorrect. here is a copy of my workers.properties file:

RE: Tomcat Running on IIS 4.0

2002-08-27 Thread RBroxterman
In addition if i wait for about 3-5 minutes the page will come back online on it's own. Any Thoughts? Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 9:42 AM To: [EMAIL PROTECTED] Subject: Tomcat Running on IIS 4.0 I am

Threads Question in Tomcat

2002-08-27 Thread Takumi Fujiwara
Hi, I have a few questions regarding Threads in Tomcat. I appreciate if anyone can help me on these: 1. Is it true that requests from the SAME client always served by the SAME thread? 2. What if the SAME client access 2 different servlets in a servlet container? Is it still served by the SAME

RE: Tomcat4.0 with and Apache2

2002-08-27 Thread Raj Mettai
Hi, I am trying to compile apache2.0.39 on solaris 8, with --enable-so(DSO), when I do make, I am getting following error, can anybody help me fixing this error... Making all in dso/unix make[3]: Entering directory `/export/home/klibutti/httpd-2.0.39/srclib/apr/dso/unix' make[4]: Entering

apache virtual host with tomcat virtual host

2002-08-27 Thread Jaco . Smuts
Hello there I have working apache 1.3 connecting to tomcat 4.04 with different virtual hosts (apache httpd) connecting to different tomcat instances. I would like to combine two of these tomcat instances into one tomcat instance (using one server element) but more than one host element. I seem

Velocity / Avalon

2002-08-27 Thread Carsten Burstedde
Hi, I am repeating a question I posted several days ago, any answers welcome... I am using velocity 1.2 with tomcat 4.0.4 on SuSE Linux 8.0 and Sun's JDK 1.4. How do I activate log file rotation for the avalon log system used by velocity? And what to write into the velocity.properties file?

RE: Threads Question in Tomcat

2002-08-27 Thread Shapira, Yoav
Hi, Keep in mind that tomcat is a reference implementation of the servlet spec. I don't remember the servlet spec answering these questions, so tomcat isn't obliged to implement things any one way. 1. Is it true that requests from the SAME client always served by the SAME thread? Not always.

RE: Tomcat Realms with Digested Passwords -Urgent- ( A little longish...)

2002-08-27 Thread Andrew Conrad
I have no problems using SHA-1. I also use FORM based authentication. You might try those, just to see if anything's different. -Original Message- From: ahmet dalli [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 3:15 AM To: [EMAIL PROTECTED] Subject: Tomcat Realms with

Re: one last plea for help

2002-08-27 Thread Jason Koeninger
I believe it's a bug in the connection pool in ajp13, and yes, I've seen it. I'm not sure if newer versions fix the problem or not, but an easy fix for it is to switch to ajp12 which uses a new connection for each request. It's reportedly slower, but I haven't had any problems with it on

JSP and MAC line breaks

2002-08-27 Thread Steven Elliott
The following is a post from Larry Issacs re: TC 4.0.1 which had a bug in Jasper that was stripping the \r from the line terminator. Which version of TC are you having problems with? __ From: Larry Isaacs [EMAIL PROTECTED] Date: 2002-03-28 14:58:58 This

RE: where is mod_jk.so?

2002-08-27 Thread Guoben Li
Don, It's in jakarta-tomcat-connectors-4.0.4-src.tar.gz from http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.0.4/src after you tar -xf it the subdirectory is ./jk/native/apache-1.3/ Guoben Li -Original Message- From: Don [mailto:[EMAIL PROTECTED]] Sent: Tuesday,

RE: Does closing a Connection variable and setting it to null close all of the ResultSet and Statements?

2002-08-27 Thread Craig R. McClanahan
On Tue, 27 Aug 2002, Short, Dave wrote: Date: Tue, 27 Aug 2002 09:08:58 -0700 From: Short, Dave [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Subject: RE: Does closing a Connection variable and setting it to null clo se all

RE: Tomcat and SSL

2002-08-27 Thread Turner, John
The server overhead is going to be minimal by adding a second tomcat instance. You are already using all the resources you are going to use by having two applications run in one instance. Splitting them out might increase resource usage 10-20%, but I would be really surprised if it was more

Re: Velocity / Avalon

2002-08-27 Thread Mark Eggers
Wouldn't you do this in a cron job similar to that of other system logs? I would think that if you ran tomcat as a particular user, then you would create a cron job mirroring those used by syslog.log, messages.log, etc. and just use velocity.log as the log file name. I'm not familiar with SUSE

Question/problem with AJP13Connector for Tomcat + IPlanet + SSL.

2002-08-27 Thread Fredrik Lagerblad
Hi All. I'm in a project where we use IPlanet Web Server 4.1 together with Tomcat 4.0.4 using SSL, connecting them together with the nsapi_redirector and the AJP13 Connector. Initally we just couldn't get it to work using SSL, the AJPConnector stated in the log that it couldn't convert the

Re: Threads Question in Tomcat

2002-08-27 Thread Craig R. McClanahan
On Tue, 27 Aug 2002, Takumi Fujiwara wrote: Date: Tue, 27 Aug 2002 09:13:55 -0700 (PDT) From: Takumi Fujiwara [EMAIL PROTECTED] Reply-To: Tomcat Users List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Threads Question in Tomcat Hi, I have a few questions regarding Threads in

Re: one last plea for help

2002-08-27 Thread Peter Choe
but i think i need ajp13 for mod_ssl connection, right? or can ajp12 handle ssl connection somehow? At 01:22 PM 8/27/2002, Jason Koeninger wrote: I believe it's a bug in the connection pool in ajp13, and yes, I've seen it. I'm not sure if newer versions fix the problem or not, but an easy fix

How to import a bean in a JSP under Tomcat 4.1.9

2002-08-27 Thread Nicolas S i l b e r z a h n
Bonjour, This has worked with Tomcat 4.0.4 to use a bean: %@ page import=DevOffer%% DevOffer handler = (DevOffer)session.getAttribute(DevOffer); if(handler==null) { handler = new DevOffer(); } % With tomcat 4.1.9, it générates an error: 2002-08-27 19:38:07 Error compiling

  1   2   >