Bug with digest attribute/UserDatabaseRealm?

2003-01-02 Thread Sam Ewing
I set the digest attribute to "sha" in UserDatabaseRealm, and tried adding a new user using the admin application. It did add a user, but the password was saved in cleartext in tomcat-users.xml and not in its digested form. Is this a bug or am I doing something wrong? Any help appreciated. /s __

JAASRealm Configuration

2003-01-02 Thread Sam Ewing
Has anyone got a successfully working JAASRealm configuration? Would like to see the Realm configurations.. any help appreciated. Thanks! /s __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To uns

Re: JK2/tomcat 4.1.18 - broken pipe problem

2003-01-02 Thread Bill Barker
The most common reason for this is that the user has hit the "stop" button in the browser before the page has been fully loaded. The AJP13 protocol (currently) doesn't support out-of-band messages to notify Tomcat of this fact, so mod_jk(2) simply drops the connection to Tomcat instead. "Jesper B

Re: Release of memory

2003-01-02 Thread Bill Barker
If you search http://nagoya.apache.org/bugzilla/buglist.cgi?product=fop you will find several reports of memory leaks using fop. Your best bet is to take it up on the fop-users list. "Øyvind Hvamstad" <[EMAIL PROTECTED]> wrote in message 000601c2b278$5dcb2810$24d2d5c1@templar">news:000601c2b278$5

Re: Tomcat 5 and CATALINA_BASE/shared/lib problem...

2003-01-02 Thread Jacob Kjome
Bug reported here: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=15774 Can someone please explain why the behavior is different and/or confirm that it is a real bug in Tomcat5? Thanks, Jake At 09:26 PM 1/2/2003 -0600, you wrote: Just a little follow-up to what I said below. I had surmis

Re: how to get meaningful exception in JSP error page

2003-01-02 Thread Bill Barker
As it happens, JasperException (at least in 4.1 Jasper2) subclasses ServletException. You should be able to get this by casting to a ServletException and calling getRootCause(). "Brian W. Young" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Happy New Year, >

Re: JasperException

2003-01-02 Thread Bill Barker
Well, it looks like it is b*tching about 'FormBean.getTransactionID()' returning a String []. Arrays aren't one of the types that JSP is required to support automatic translation for. "Denise Mangano" <[EMAIL PROTECTED]> wrote in message 5D83C44941AFD4118B6F0002B302984F4385FC@EXCHANGE_SERVER">new

Re: Connector Problem, has anyone seen this behavior?

2003-01-02 Thread Bill Barker
The mod_jk (V1.0) for 3.2.x doesn't have the re-try connection logic that the later versions have. You should upgrade to at least V1.1 (ships with TC 3.3), or, better 1.2.x (current stable release). "Brandon Cruz" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... >

Re: Parse error in application web.xml

2003-01-02 Thread Jacob Kjome
Tomcat-3.3.x and above completely ignore the system classpath as far as webapps are concerned. All jar files that you want your webapps to see will have to be in either the WEB-INF/lib of your webapp or in the designated library directories. The only exception to this are the Java runtime cl

reference to external error-page [RBS2003010300001814]

2003-01-02 Thread techassistance
Ahoy there! This is an automated response, to let you know that we have received your query and will answer your email as soon as possible. We know you'd like to get back to playing our state-of-the-art online games. We'd therefore like to assure you that we are determined to keep our service at

reference to external error-page

2003-01-02 Thread Michael Mendelson
Hello all, I would like to use an error page for certain apache/httpd errors as well as tomcat errors (e.g. 404). In the web.xml file though, the directive... 404 /error/404.html

Re: NTLM / Connection: Keep-Alive / HTTP 1.0

2003-01-02 Thread Bill Barker
There is a problem with HTTP/1.0 Keep-Alive in 4.1.12. See http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12783 for more information. If this looks like your problem, then upgrading to 4.1.18 should fix it. "Endre Stølsvik" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL P

Re: Parse error in application web.xml

2003-01-02 Thread jmong
Hi there, I was reading an unrelated article on this but its possible that just setting your CLASSPATH doesn't really pick up your new xerces parser. Fire up tomcat with this flag -Djava.endorsed.dirs=$CATALINA_HOME/common/endorsed (make sure to put the new JAR files in that directory).. check

Fw: Tomcat 4.1.18 jspc problem.

2003-01-02 Thread Alexey Kozadaev
Hello everyone, I'm experiencing a problem with jspc. It always returns NullPointerException, no matter what .jsp file I compile. Although it works thru ?jsp_precompile, unfortunately we have a very big web site where plenty of jsp files and they are have certain, complex structured layout in file

Re: Can tomcat listen only to unix socket?

2003-01-02 Thread Bill Barker
"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > On Thu, 2 Jan 2003, Gery Kahn wrote: > > > Date: Thu, 02 Jan 2003 15:29:22 +0200 > > From: Gery Kahn <[EMAIL PROTECTED]> > > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > > To: Tomcat

Re: Parse error in application web.xml

2003-01-02 Thread Keshava Murthy
Hi Jason, I downloaded latest jar files and included them in my classpat I am still getting the same exception regards, keshav - Original Message - From: "Bowsher, Jason P" <[EMAIL PROTECTED]> To: "'Tomcat Users List'" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 6:32 PM Subject

Problem with SERVER.XML please help!!!!!!

2003-01-02 Thread seemanto
hi i have installed TOMCAT Version 3.2.3 for windows98. When i start up the server, it is exiting with an exception that goes on like this: "Error reading server.xml...". I haven't done anything with server.xml after installation, so what could be the problem.plz help. bye -- To unsubsc

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Noel J. Bergman
> My production servers are using Jserv, but I wouldn't think of using a single > Tomcat instance for all of my virtual hosts. Same here, in most cases, and me neither. Just out of curiousity, when do you think you'll finally get off of JServ? We're thinking of doing it fairly soon, and I'm curi

tomcat-4.0.3

2003-01-02 Thread sgv -
The prior mail was sent before I could complete. Therefore, I am posting my question again. I am trying to run a JSP using tomcat-4.0.3 and it gives me an error "method flushBuffer() has protected access in class org.apache.jasper.runtime.JspWriterImpl". This error does not occur when I use tomca

tomcat-4.0.3

2003-01-02 Thread sgv -
Hi, I am trying to run a JSP using tomcat-4.0.3 and it gives me the error __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- To unsubscribe, e-mail: For additional comma

Re: JDBCRealm

2003-01-02 Thread Rick Fincher
Hi Rob, > Ok, I tried cleartext passwords, but I came up with the same result. I don't > understand why tomcat is able to start up at all, if the authentication is > failing. Users are authenticated not Tomcat, so starting Tomcat has nothing to do with authentication. Tomcat is just a Java prog

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Turner, John
We use the Sun tool, it used to be called Forte. It's free, I think it is called SunONE or something now. Oracle's tool is free (certain editions) as well, but if you code with it you have to follow special instructions to deploy to Tomcat (instructions are on the Oracle site). There is also e

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Turner, John
I think you're overthinking it. Tomcat != Apache. Webapps != Document Roots. Tomcat needs to do what it needs to do because a web app is more than just a directory that has content in it. You can't map a.myhost.com to /examples/a and b.myhost.com to examples/b for a very good reason. There's

Re: Tomcat 5 and CATALINA_BASE/shared/lib problem...

2003-01-02 Thread Jacob Kjome
Just a little follow-up to what I said below. I had surmised that maybe CATALINA_HOME/shared/lib libraries where simply getting loaded first and maybe CATALINA_BASE/shared/lib libraries that had the same packages wouldn't be loaded because they would only be loaded once by Tomcat. Well, this

tomcat binds only to localhost??

2003-01-02 Thread Ronny Haryanto
Hi everyone, I have a strange problem with Tomcat 4.1.18 on Windows 2000. The machine has one ethernet, dhcp enabled, and the primary ip is 192.168.1.2 (LAN) and it is also accessible via 202.157.154.130 and seatech.com. I can only access Tomcat via http://localhost:8080 from the machine itself,

Re: reducing tomcat & jasper memory footprint

2003-01-02 Thread Will Hartung
> From: "Julian Löffelhardt" <[EMAIL PROTECTED]> > Sent: Thursday, January 02, 2003 5:38 PM > Subject: Re: reducing tomcat & jasper memory footprint > Thanks for your Feedback! Sure! > I will look into your suggested approch using filters. > > answers inline with comments... > As of 4.0.4 tom

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Fri, 3 Jan 2003, Julian Löffelhardt wrote: > Date: Fri, 3 Jan 2003 02:01:58 +0100 > From: Julian Löffelhardt <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Re: Memory Usage and Garbage Collection > > Looking at the

Did someone manage to use a non default channel port for tomcat4.1.18 JK2/ajp13 ?

2003-01-02 Thread Lacoste (Frisurf)
I finally solved the problem I described in my emails titled: "tomcat/apache connector startup failure: NCDFE fpr org/apache/commons/logging/LogFactory" sent both to the tomcat-user and tomcat-dev list. I was trying to use a non-default channel port (8019) in my configuration, following a working

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Brandon Cruz wrote: > Date: Thu, 2 Jan 2003 19:04:55 -0600 > From: Brandon Cruz <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Cc: [EMAIL PROTECTED] > Subject: RE: Memory Usage and Garbage Collection > > Craig, > > Thanks for your comments, I still have a f

Re: reducing tomcat & jasper memory footprint

2003-01-02 Thread Julian Löffelhardt
Thanks for your Feedback! I will look into your suggested approch using filters. answers inline - Original Message - From: "Will Hartung" <[EMAIL PROTECTED]> To: "Tomcat Users List" <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 11:27 PM Subject: Re: reducing tomcat & jasper memo

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Julian Löffelhardt
Looking at the jasper source of tomcat 4.0.4 releasing jsp's seems to be reasonable easy to implement: The Jsp's classloader, the class and the actual jsp-servlet instance are all put together in a JspServletWrapper-Object which itself is stored in the JspServlet (the Servlet used to executing jsp

RE: Memory Usage and Garbage Collection

2003-01-02 Thread Brandon Cruz
Craig, Thanks for your comments, I still have a few clarification questions. 1)It's not just the classes -- it's the object instances created from those classes that take up space (the bytecodes of the class itself exist only once). ---does this mean that every object instance is never garbage c

Re: Memory Usage and Garbage Collection

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Brandon Cruz wrote: > Date: Thu, 2 Jan 2003 16:16:23 -0600 > From: Brandon Cruz <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]>, > [EMAIL PROTECTED] > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Memory Usage and Garbage Collection > > Do lo

Re: JDBCRealm

2003-01-02 Thread Rob Abernethy IV
Ok, I tried cleartext passwords, but I came up with the same result. I don't understand why tomcat is able to start up at all, if the authentication is failing. When I run 'ps' after starting up tomcat, I see this process: 40 S postgres 2825 2758 0 75 0- 2431 schedu 18:12 pts/000:

RE: Easy question - Java Beans

2003-01-02 Thread Noel J. Bergman
Denise, Start with your basic tag, and then in your code that emits the list of tags, do something like this: " + stateName + "" In other words, emit the New York tag, or the New York variant, depending upon whether the option you are about to emit is the currently selected option.

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Noel J. Bergman
Denise, When dealing with introspection and reflection, conventions become rules. :-) The code has to know how to map property names to methods. My pleasure to help. I know that area pretty well, having worked on the GNUJSP implementation of that code, and written a database layer that works an

Tomcat 5 and CATALINA_BASE/shared/lib problem...

2003-01-02 Thread Jacob Kjome
Hi all, Using Tomcat-4.1.x, I can have separate instances of Tomcat running which access their own shared/lib folder. In Tomcat-5.0 latest nightly build, that doesn't seem to be the case. For instance, using Tomcat-4.1.18, if I have some jars in CATALINA_HOME/shared/lib and I start up a new

Re: reducing tomcat & jasper memory footprint

2003-01-02 Thread Will Hartung
There are a lot of issues that show up here. 1) Using the JSP means that the entire article text (among other things) is being cached into RAM. 2) Some of the pages are "popular" enough that they are getting moved into the permanent area of memory, and thus avoiding the routine, "cheap" GCs. 3) Th

Connector Problem, has anyone seen this behavior?

2003-01-02 Thread Brandon Cruz
Every once in a while, we get a strange error from tomcat when using apache 1.3, tomcat 4.1.18, and mod_jk(which was compiled for tomcat 3.2.4 initially)... [INFO] ChannelSocket - -server has been restarted or reset this connection Whenever this error shows up, the browser returns a cannot find s

Memory Usage and Garbage Collection

2003-01-02 Thread Brandon Cruz
Do loaded jsp pages and/or class files ever get garbage collected when tomcat is running? We have a production server with several hundred virtual hosts per host, each with a fair share of jsp pages and with moderate to low traffic per host. As time goes on, the amount of memory being used consta

Re: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Carl
Denise, I use Dreamweaver for presentation, SunOne (which is based on NetBeans) to manage the project and CodeWright from StarBase as the text editor (it is far and away better than the editor in JBuilder or SunOne.) Carl - Original Message - From: "Denise Mangano" <[EMAIL PROTECTED]> To

Re: Easy question - Java Beans

2003-01-02 Thread Charles Baker
--- Denise Mangano <[EMAIL PROTECTED]> wrote: > Just curious if anyone knows how to use bean > properties so that on a retry > of a form, the previously selected item in a select > list is maintained if > validated. For example, for "Select Your State". If > I select NY, but > something else on m

Re: ManagedBean is not found

2003-01-02 Thread David Orriss Jr
John, Say, don't I know you? ;) John Turner answered this exact same question for me... > If you're using Ajp13Connector, comment out (disable) the lines in > server.xml having to do with MBeans. > Or, leave the MBeans lines alone, and use CoyoteConnector which is fine for > JK or JK2. > John

RE: Easy question - Java Beans

2003-01-02 Thread Brandon Cruz
Here's a sample from a form that uses states. The states are generated from a class to keep less java on the jsp page, but you can see how the options are generated and set to selected if they match the value in the bean. Choose a State

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Turner, John wrote: Hmmm...you lost me there. Yes, you do map to a Context directly, at least you do with JK. That's exactly what having a JK block for "/examples", does, for example. With Apaches 'apachectl restart' or 'apachectl graceful' you can pick up both new virtual hosts and new JkMount

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
Thanks Drew - I will definitely check it out because I am NOT happy with JBuilder at all. I would be lost without this list!! Thanks :) Denise Mangano Help Desk Analyst Complus Data Innovations, Inc. -Original Message- From: Hamilton, Andrew [mailto:[EMAIL PROTECTED]] Sent: Thursday,

ManagedBean is not found

2003-01-02 Thread John B. Moore
Tomcat 4.1.18 Apache 2.0.43 Connectors - 4.1.18 (mod_jk.so) (all build from source) (followed the J Turner Howto's) Getting the error.. "ManagedBean is not found with Ajp13Connector" Anyone have some suggestions on what might be configured wrong.. We keep looking at it and is all seems to be th

Easy question - Java Beans

2003-01-02 Thread Denise Mangano
Just curious if anyone knows how to use bean properties so that on a retry of a form, the previously selected item in a select list is maintained if validated. For example, for "Select Your State". If I select NY, but something else on my form is wrong, when Retry.jsp is brought up, the State sele

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Hamilton, Andrew
I use NetBeans www.netbeans.org. It is a nice java IDE. It is open source so does have its issues. But it does a lot of stuff for you. You just have to take some time to get used to it. Drew -Original Message- From: Denise Mangano [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02,

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
That seemed to do it. I know of naming conventions when writing Java programs, but have never seen an instance that the naming convention was an absolute rule. Thanks for your help :) Completely off topic - but can you suggest a good JSP editor? Coding in a plain text editor like notepad can

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Turner, John
Hmmm...you lost me there. Yes, you do map to a Context directly, at least you do with JK. That's exactly what having a JK block for "/examples", does, for example. With Apaches 'apachectl restart' or 'apachectl graceful' you can pick up both new virtual hosts and new JkMounts for those virtual

Re: Tomcat, Apache and PHP

2003-01-02 Thread John Bell
John, I changed the order of Virtual Hosts in httpd.conf and put the PHP site as the first one - which becomes the default - and now the JSP site is served by Tomcat and the PHP site is at least found by Apache. I guess there is something not quite right as the site should have been picked up wi

Re: JDBCRealm

2003-01-02 Thread Rick Fincher
Hi Rob, Try it in clear text without the MD5 digest, to verify that your password, username, role, etc are correct. I had a lot of problems with digesting. Also some databases return column names in upper case even if they are in lower case so you may want to try all caps on your db column names

OT - java:comp/env issues in standalone unit testing

2003-01-02 Thread Mark
I'm trying to set up standalone Ant-JUnit testing for our model objects which can be tested independent of our controller/view components. Problem is we have a lot of environment properties in web.xml, such as DAO class names used in factories and other run-time stuffso we have many instan

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Noel J. Bergman
Denise, The first thing that immediately came to mind is to check your setters and form parameters for the appropriate case usage. Your "PostalCode" should be "postalCode" in both the form and the JSP actions. If you don't understand, I'll go into more detail regarding naming conventions for bea

Re: can tomcat do dynamic virtual hosts? [RBS2003010200005188]

2003-01-02 Thread techassistance
Ahoy there! This is an automated response, to let you know that we have received your query and will answer your email as soon as possible. We know you'd like to get back to playing our state-of-the-art online games. We'd therefore like to assure you that we are determined to keep our service at

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Sorry, having a bad keyboard day. 'contect' should be context and 'somcat' should be tomcat. Joseph Shraibman wrote: Apache already supports dynamic virtual hosting. See http://httpd.apache.org/docs-2.0/vhosts/mass.html. That's what I'm talking about. The problem is that when connecting apache

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
I will look into all that you suggested. The weird thing is though, that it only happens with those three parameters. Everything else goes through fine. I checked the form code for differences between other parameters and the three offending parameters, but everything is the same Thanks. D

Re: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Joseph Shraibman
Apache already supports dynamic virtual hosting. See http://httpd.apache.org/docs-2.0/vhosts/mass.html. That's what I'm talking about. The problem is that when connecting apache to tomcat you can't map into a contect directly, you only pass the request along to tomcat so somcat has to find the p

Re: Tomcat, Apache and PHP

2003-01-02 Thread John Bell
John, I changed the order of Virtual Hosts in httpd.conf and put the PHP site as the first one - which becomes the default - and now the JSP site is served by Tomcat and the PHP site is at least found by Apache. I guess there is something not quite right as the site should have been picked up wi

Re: jdbc, mysql and character encoding

2003-01-02 Thread Anastasios Angelidis
Well I know for a fact that if you are using windows, the console window canot display extended characters. Only the standard ASCII chars... It doesnt really matter, as long as you get the desired result in your application... All characters in the end are bytes, a byte is a byte it all depends

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Hamilton, Andrew
Denise, I had the same problem once. All my calls to getProperties were coming back null. It turned out to be a pathing issue in my form. I'm not sure why it even ran the JSP with the incorrect path inside ACTION parameter of the form but it did run and it returned null values for all the prope

RE: is this normal??

2003-01-02 Thread Ben Ricker
I found a trick that might help: up your sar reports to take a snapshot every minute. Then, when you notice the CPU pegging, go through the sar reports for CPU usage and try to find the minute that they start. Then, you can go back through the Apache access logs (mod_jk.log perhaps), etc. to see if

Setting root web app. How?

2003-01-02 Thread Anastasios Angelidis
When you start tomcat and then navigate with your browser to http://localhost:8080, you get the tomcat default web app/info pages etc... I want it to go to my web application, so what I did is I backed up the ROOT folder and put my web app in the ROOT folder. Is this the correct method or is th

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
I tried to "echo print" the value of the PostalCode after it has been picked up by the bean, by calling . And I get an error message stating : org.apache.jasper.JasperException: Cannot find any information on property 'PostalCode' in a bean of type 'com.complusdata.beans.FormBean' When I complet

RE: Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
I tried to "echo print" the value of the PostalCode after it has been picked up by the bean, by calling . And I get an error message stating : org.apache.jasper.JasperException: Cannot find any information on property 'PostalCode' in a bean of type 'com.complusdata.beans.FormBean' When I complet

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Turner, John wrote: > Date: Thu, 2 Jan 2003 13:51:42 -0500 > From: "Turner, John" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: can tomcat do dynamic virtual hosts? > > > H...interesting

RE: is this normal??

2003-01-02 Thread Randy Paries
I am running jakarta-tomcat-4.0.4 jdk1.3.1_04 apache-1.3.27-2 I have enabled server stats (thanks Jan) I stop and started and it is back to normal. So when this does this again, I will see if the server status helps Thanks for all the suggestions Randy -Original Message- From: Bran

RE: is this normal??

2003-01-02 Thread Brandon Cruz
Are you using tomcat 3.x by any chance? We had a CPU problem with 3.2.4 that we could never resolve. The problem went away with our recent upgrade to 4.1.x -Original Message- From: Randy Paries [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 02, 2003 11:37 AM To: 'Tomcat Users List'

Jakarta Connectors build error

2003-01-02 Thread David Orriss Jr
Hi, When I try to build the libjkjni.so library I'm getting this set messages/errors: -lcrypt -L/usr/local/apache2/lib -lapr -Wl,-soname -Wl,libjkjni.so -o .libs/libjkjni.so [so] StdErr: [so] /usr/bin/ld: cannot find -lapr [so] collect2: ld returned 1 exit status BUILD FA

jdbc, mysql and character encoding

2003-01-02 Thread [EMAIL PROTECTED]
I've my jsp, where I simply want to fill a table with some "italian" characters: <% Class.forName("com.mysql.jdbc.Driver").newInstance(); Connection conn = DriverManager.getConnection ("jdbc:mysql://localhost:3306/jdbctest?useUnicode=true&characterEncoding=ISO-8859-1", "usrjdbc", "pwd"); St

RE: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Turner, John
He wants Ajp13Connector to be his only connector. He wants to disable CoyoteConnector on port 8080, but is getting an error message when he tries to do so. John > -Original Message- > From: Jerry Ford [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 11:30 AM > To: Tomcat U

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Turner, John
H...interesting point. What does the admin webapp do, then, that you couldn't do from the command line? Is there something similar to Apache's 'apachectl restart' for Tomcat? Can you call the admin webapp with a URL and have it do things? If so, that's the answer to the original post...you

Code works in editor, but not through Tomcat - Please help!

2003-01-02 Thread Denise Mangano
Hi all. This one's kind of urgent because its holding up the rest of my project... I'm not sure I understand why this is happening. I have a bean that I use for form validation. When I test the code locally using an editor and hard coding variable values, the code runs perfect and all informatio

top command shows memory usage of java process is two times more than what actually java heap is taking

2003-01-02 Thread Venkat Reddy Valluri
Hi, When I run top command on linux, it is showing memory usage of java process is two times more than what java heap is taking, I got java heap size inside java program using "Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory();" I didn't understand why it is showing

Re: RE: is this normal??

2003-01-02 Thread jmong
I have to concur with the following observation. Try to check what the apache processes are doing. If you've enabled server-status on your box and have installed GET (as part of the perl LWP) grep for the pid GET /server-status | grep or access it http:///server-status On older tomcat versio

JDBCRealm

2003-01-02 Thread Rob Abernethy IV
I'm trying to set up a JDBCRealm for use with the admin and manager webapps. The problem is that I am unable to authenticate any users. - Tomcat 4.1.18 - Postgresql 7.3.1 - JDBC driver is in $CATALINA_HOME/common/lib - Tomcat starts up fine, I just can't authenticate - I can directly connect to m

RE: Release of memory

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Øyvind Hvamstad wrote: > > But if tomcat releases the reference to the servlet, the hole thing > should be garbage collected. Tomcat does not release references to the servlet. In fact, it's totally up to the container (not to you) to decide how long a servlet instance will

RE: is this normal??

2003-01-02 Thread Ben Ricker
There is probably a problem going on there. I find it strange that you have so much cumulative CPU time on the httpd processes. To me, they look hung (in so far as I can tell). Since most apps are transactional in nature (i.e., individual requests being fulfilled rather quickly), you would expect t

RE: Release of memory

2003-01-02 Thread Øyvind Hvamstad
> -Original Message- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED]] > > It may not be another tomcat thread. And conversely, it may be a > different (possibly new) instance of your servlet. Does your servlet > implement SingleThreadModel? No it does not! That would mean bad performanc

Re: Realm not working now I've moved from Win2K to Linux

2003-01-02 Thread Gary Gwin
Ben, Can you see in your Tomcat log files if you are being forwarded back to the original request page after authentication? If yes, and you are being authenticated as you indicate, this sounds like the state is somehow being lost. In this case, you might be in a forwarding loop between the pr

RE: JK2/tomcat 4.1.18 - broken pipe problem

2003-01-02 Thread Jesper Birch
Hi Thx for the suggestion... I forgot to write that I have the problem on Solaris 7... /Jesper Birch -Original Message- Even I too got the same problem with configuraion of apache 2.0.40, tomcat 4.0.4 and j2sdk1.4.1(sun jvm) on redhat 7.3 but when I replaced sun jvm with ibm jvm

RE: is this normal??

2003-01-02 Thread Randy Paries
I have a pretty busy web server It has apache and tomcat What I am trying to find out if I have a problem or not I am linux guy but not at the tuning level When I do a top I get: These top 4 are always at the top 29616 apache25 0 87368 78M 14256 R46.8 7.8 388:13 java 2290 apache25

Re: Can tomcat listen only to unix socket?

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Gery Kahn wrote: > Date: Thu, 02 Jan 2003 15:29:22 +0200 > From: Gery Kahn <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: Tomcat Users List <[EMAIL PROTECTED]> > Subject: Can tomcat listen only to unix socket? > > I am trying to config Tomcat 4.1.

RE: Release of memory

2003-01-02 Thread Shapira, Yoav
Howdy, Not much clearer, but I'll try to explain a bit more ;) >I have to specify that the servlet is done! And the next time the >servlet is run (another tomcat thread) the memory usage starts at the It may not be another tomcat thread. And conversely, it may be a different (possibly new) insta

RE: can tomcat do dynamic virtual hosts?

2003-01-02 Thread Craig R. McClanahan
On Thu, 2 Jan 2003, Turner, John wrote: > Date: Thu, 2 Jan 2003 08:05:18 -0500 > From: "Turner, John" <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: 'Tomcat Users List' <[EMAIL PROTECTED]> > Subject: RE: can tomcat do dynamic virtual hosts? > > > Since a virtual host

RE: Release of memory

2003-01-02 Thread Øyvind Hvamstad
I have to specify that the servlet is done! And the next time the servlet is run (another tomcat thread) the memory usage starts at the percentage used by the former run. Say, if I want a report and that takes up about 50% of memory, and then you want the same. Then you will take the memory up to 1

RE: ERROR: Receiving from Tomcat failed recoverable operation, err=0

2003-01-02 Thread Rob Cartier
Found it:) > -Original Message- > From: Rob Cartier [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 02, 2003 11:28 AM > To: '[EMAIL PROTECTED]' > Subject: ERROR: Receiving from Tomcat failed recoverable operation, > err=0 > > > [ Wed Jan 01 22:15:31 2003 ] [jk_ajp_common.c (

Re: java.sql.SQLException: Cannot load JDBC driver class 'null'

2003-01-02 Thread Anastasios Angelidis
Doh! Teach me for staying up so late :P Thanks it works. shawn wrote: Try changing this value Shouldn't it be jdbc/InfectedDB ? That's my guess. Shawn On Thu, 2003-01-02 at 12:29, Anastasios Angelidis wrote: Hi I downloaded the MySQL Connector/J 2.0.14 JDBC drivers and I copied the my

Re: Apache 2+Tomcat 4.1.12: how to disable the Coyote HTTP connector?

2003-01-02 Thread Jerry Ford
Looks like you conmmented out the wrong connector. The one you have removed is identified as the one for port 8009, which is the one Apache uses. Restore that connector and comment out the one that is identified as for port 8080. Jerry Manuel González Castro wrote: Hi, I'm running Apache H

ERROR: Receiving from Tomcat failed recoverable operation, err=0

2003-01-02 Thread Rob Cartier
[ Wed Jan 01 22:15:31 2003 ] [jk_ajp_common.c (681)]: ERROR: can't receive the response message from tomcat, network problems or tomcat is down. [ Wed Jan 01 22:15:31 2003 ] [jk_ajp_common.c (1050)]: Error reading reply from tomcat. Tomcat is down or network problems. [ Wed Jan 01 22:15:31 2003 ] [

RE: Release of memory

2003-01-02 Thread Shapira, Yoav
Hi, >Can anyone tell me how to make tomcat release memory after a servlet is You can't. >finished? Now tomcat simply hold it and sooner or later my server starts >to swap processes because of it. It does so even if I force GC at the You can't force GC. System.gc() is only a suggestion to the c

Release of memory

2003-01-02 Thread Øyvind Hvamstad
Hi, I have a servlet that is generating reports on demand from a client program. I'm using tomcat as servlet container, xml and xsl to generate fo and fop to give me pdf. The reports tend to be big and memory is being exhausted. Can anyone tell me how to make tomcat release memory after a servlet

Re: running tomcat as a non-root user?

2003-01-02 Thread Ben Ricker
On Tue, 2002-12-31 at 18:13, waimun wrote: > P.S. Btw, does anyone know is there a way where I could run w/o login/su'ing to >normal user; ie as root, fire up startup.sh but processes created will be by owner of >the tomcat files? Just create a init-like script that calls the startup.sh using '

how to get meaningful exception in JSP error page

2003-01-02 Thread Brian W. Young
Happy New Year, I'm using the errorPage="my_own_error.jsp" technique. However, the "exception" object in my_own_error.jsp gives me the only the Jasper stack trace. It doesn't include info on what part of my own code bombed. I've tried getCause() on exception but it isn't yielding much. I bas

Problem with startup

2003-01-02 Thread seemanto
hi i am new to tomcat. The problem is i am not able to startup the server and it is exiting with an exception which says : Error loading server.xml. I haven't touched server.xml after installation. what could be the problem. bye -- To unsubscribe, e-mail: For addit

JasperException

2003-01-02 Thread Denise Mangano
I'm having a hard time figuring out what's causing this error so I thought I'd post it to see if anyone has any ideas... When my form page is called, I pass two variables in the URL. These two variables are hidden within the form page. I need to maintain the value of these two variables, along

RE: Two instances of servlet gets created

2003-01-02 Thread Gavin, Rick
I have also been seeing this, I think since I have upgraded from 4.1.12. I have a startup servlet that creates a singleton object i use for system properties, and it calls the createInstance of the singleton twice at startup now. Rick -Original Message- From: Mohit Garg [mailto:[EMAIL

RE: JK2/tomcat 4.1.18 - broken pipe problem

2003-01-02 Thread Venkat Reddy Valluri
Even I too got the same problem with configuraion of apache 2.0.40, tomcat 4.0.4 and j2sdk1.4.1(sun jvm) on redhat 7.3 but when I replaced sun jvm with ibm jvm, surprisingly I didn't get this problem, I am not sure here but what I thought is sun jvm can't support green threads on redhat

Time Out

2003-01-02 Thread Richard Johnstone
Hi, I have just built a new webserver and I am having a strange problem. The first few times I try to call a servlet it times out. Then eventually it will just call as normal and run ok. Then when I leave it for a while and come back I get the same issue. I looked in the logs and this was the only

  1   2   >