Re: Connector Problem

2003-11-05 Thread lohcl
When following the following procedure to build the connector, Building * Install tomcat(3.3, 4.0, 4.1). Install Apache(1.3, 2.0). Any combination is fine, but j-t-c developers should have them all. * Copy build.properties.sample to build.properties * Edit build.properties to taste.

RE: Tomcat 4.1.29, Apache 2.0.48, mod_jk2 2.02, JDK 1.4.2 and W2000

2003-11-05 Thread Ralph Einfeldt
Your quote from the site is a question, not a statement. And I'm quie shure that the post parameters are not part of the header. (They are part of the 'body') -Original Message- From: Robert Leftwich [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 11:45 PM To: Tomcat

Re: Allocated instances

2003-11-05 Thread Yonatan Goraly
I was at that customer today, and disabled the CPU hyper threading feature. Tomcat and the application seems to work normally now. I sent the thread dumps to myself, but unfortunately they didn't arrive. Not sure it is still relevant. Shapira, Yoav wrote: Howdy, At this particular

RE: Print on Printer

2003-11-05 Thread Galbayar
use JavaScript window.print(); -Original Message- From: Cui Xiaojing-a13339 [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:51 PM To: Tomcat Users List Subject: Print on Printer Hello All, Do you have any idea about how to realize a HTML page printing on printer?

large class file generated..

2003-11-05 Thread Amarnath Reddy
Title: Blank Hi, Could anyone shed some light on this problem? I'm using Tomcat 4.1.18.JASPER is creatinglots of lines for out.write statements and giving the following error. When compared to weblogic, the generated code after compiling the page is almost 12 times large. The same code

RE: Issues | Suggestion any?

2003-11-05 Thread Arnab Chakravarty
Hi Yoav S and Tomcat Users, I am back with some issues again. This time have taken some good observation and wanted all of you know such that I have some good recommendations from the experts :-). Oracle Connection Pool We have observed that the number of connections during site outages are

Re: jk2_init() Can't find child xxxx in none of the 1024 scoreboard slots

2003-11-05 Thread Chong Yu Meng
Hi Tony, I can't help you with the load balanced configuration because I'm not using load balancing (yet). I was using the older version of mod_jk2 just fine too. When the rpm file disappeared from the download site, I had to compile using the latest version, and that is when my problems

custom error page

2003-11-05 Thread Stephen Ting
I created a custom error page, and it's work. However, I need to include some additional message, such as user not in the role to access that page or etc, such as message shown below from tomcat default error page. Can somebody give me some pointer how to archive this? HTTP Status 400 - User is

Re: Admin Passwords

2003-11-05 Thread Jan Faerber
Am Mittwoch, 5. November 2003 00:20 schrieb Kendall Kunz: We have Apache Tomcat installed and required a change to the password of the system. After changing all the passwords, using the login screen called http://localhost:8080/index.jsp, under Tomcat Administration, we cannot login to

mod_jk2, virtual hosts

2003-11-05 Thread Frank Epistone
Hi everybody, I'm experiencing some strange problems with mod_jk2 and Apache Tomcat 4.1.27 with Apache 2.0.47 as web server. I have serveral virtual hosts defined, each one with a diferent JSP directory: demo.domain.com/org - /home/www/htdocs/demo www.domain.com/org - /home/www/htdocs/www

RE: Tomcat JK Connector DLLs for IIS in IIS 6.0/Win2k3SBS - Won't Load!

2003-11-05 Thread Adam Krouskop
FYI, For future reference, I have posted a resources page for configuring IIS 6.0 with Tomcat on the web: http://www.rit.edu/~ack5504/tomcat-iis6-howto/tomcat_iis6_resources.html It offers the suggestions of this thread, but in more detail and I hope people will find it useful down the road.

Re: Trust Store and Credentials

2003-11-05 Thread Bill Barker
Mario Ivankovits [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Bill Barker wrote: Only MemoryRealm (of the Tomcat-supplied Realms) supports CLIENT-CERT. The user name in tomcat-users.xml is the DN (aka Subject), and the password is ignored. I believe that there are patches

Re: Session managing in Tomcat problem

2003-11-05 Thread Adam Hardy
Hi Tracy, if you will pay for my flight to NZ, I would be happy to give you a live demo :) Adam On 11/04/2003 11:50 PM Tracy Saward wrote: Hi, We are independent consultants currently undertaking a study of satisfaction among end-users of Open Source Software, notably Tomcat, for a company

Re: Connector Problem

2003-11-05 Thread Bill Barker
I'm guessing that you are running on Solaris, and have neglected to install the GNU utilities such as 'libtool' and friends ;-). If not, then ignore the 'ant' build and simply do the normal './configure' followed by 'make'. [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] When

JNDIRealm with UserMapping (was: Trust Store and Credentials)

2003-11-05 Thread Mario Ivankovits
Bill Barker wrote: Speaking only for myself, it is because of the dependencies on sun.** classes (so it won't work with e.g. IBM's JVM). Otherwise the patch looks Ok. I just haven't had enough spare cycles to work out how to remove the Sun dependancies. Ah, yes i see, but this is true for

Re: Installing jakarta on linux RH9

2003-11-05 Thread Rodrigo Ruiz
Looking at the Red Hat 9 Release Notes, it seems that only JDKs prior to 1.4.1 fail. You are using 1.4.2, so you are not supposed to need the LD_ASSUME_KERNEL setting ;-) The problem comes from a new implementation of the POSIX Thread Native Library. This new version corrects some deviances

Re: Which is the winner----Singleton Class or Base Servlet????

2003-11-05 Thread Rodrigo Ruiz
Both techniques have their advantaes and disadvantages. A singleton class usually has problems when reloading the context. Using a Servlet Base for JSPs makes you container version dependent (As the minimum implementation required can change among jasper versions). Anyway, the performance

Tomcat doesn't start

2003-11-05 Thread Didier Wiroth
Hi, I've created a custom server.xml when I try to start tomcat, tomcat fails with this output: Catalina.start: java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. java.io.UTFDataFormatException: Invalid byte 1 of 1-byte UTF-8 sequence. at

AW: Session mixup problem in Tomcat with Coyote Connector

2003-11-05 Thread Markus Heussen
We have the same problem in our production enviroment. We also need help to solve it. * Win2K * first Apache Tomcat/4.1.18 with JDK 1.3.1_07-b02 * Apache 2.0.44 in Front of the Tomcat an with mod_jk2 2.0.43 running for load balancing * JBoss 3.2.1 with a separate JDK 1.3.1_07 included a Tomcat

Re: Which is the winner----Singleton Class or Base Servlet????

2003-11-05 Thread kgsat
Hi Rodrigo Ruiz Thanks for your response.I have been using oracle conneciton pooling features in my singleton db class for the faster connectivity with the database from my application. Should i go for a JNDIDatasource model for the better db access or the current one will serve the needs.My

Re: Tomcat doesn't start

2003-11-05 Thread Rodrigo Ruiz
It seems you have any non UTF-8 character in your server.xml. Check your file and search for accented or any other non ASCII characters. You can also set the encoding of your xml file including the following statement at the beginning: ?xml version=1.0 encoding=ISO-8859-1? Changing

Re: Tomcat doesn't start

2003-11-05 Thread Joaquin Corchero
Can you send a copy of the server.xml??? Anyway check that you didn't introduce any character at the begining of the file - Original Message - From: Didier Wiroth [EMAIL PROTECTED] To: 'Tomcat Users List' [EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:48 AM Subject: Tomcat

RE: Tomcat doesn't start

2003-11-05 Thread Didier Wiroth
It's ok now well I've opened the file, it didn't like the tabs characters. I've removed them and now it works -Original Message- From: Joaquin Corchero [mailto:[EMAIL PROTECTED] Sent: 05 November 2003 12:14 To: Tomcat Users List Subject: Re: Tomcat doesn't start Can you send a

Re: Which is the winner----Singleton Class or Base Servlet????

2003-11-05 Thread Rodrigo Ruiz
JNDI adds a little performance penalty (extra overhead), and provides you more independency from the database layer. If that independency is not much important for you, your current configuration will probably suit better ;-) Apart from this, if your app serves video content, a careful tunning

Re: V Host

2003-11-05 Thread Dominique Batard
Put your webapp anywhere, ie C:\anywhere +--anywhere +--images +--WEB-INF +--classes +--listeners +--filters +--compressionFilters +--util Server.xml : appBase must be the absolute path Host name=pjkt debug=0 appBase=C:\anywhere Context

Re: large class file generated..

2003-11-05 Thread Tim Funk
Since a JSP is converted to java code, the jsp runs in a method called _jspService (or a very similar name as dicated by the spec). The java language itself has a constraint that no method may be larger than the upper limit you are running into. [I think jasper generates an out.print() for

Obtaining JK2 binaries for Linux

2003-11-05 Thread inaminute
Hi, I try to set up JK2 for Apache/2.0.40 - Jakarta-Tomcat-4.1.29 on RedHat Linux 9.0. I cannot find the binary distribution for the connector, or cannot access it ! The only binary distributions availables are for Solaris and Windows :( I am based in Switzerland and wonder if the smart mirrors

Re: custom error page

2003-11-05 Thread Tim Funk
Try using request.getRemoteUser(). Since authentication was successful but authorization was not, I am unsure if that method will return the desired value. -Tim Stephen Ting wrote: I created a custom error page, and it's work. However, I need to include some additional message, such as user

RE: large class file generated..

2003-11-05 Thread Amarnath Reddy
Tim, Thanks for the suggestions. Infact, you are right about the out.print statements. JASPER is creating new statements for each End Of Line and hence the problem. But weblogic is combining all of them to a sizeable single out.write statement. However I got through the problem by using run-time

Problem with mod_jk on RedHat 9

2003-11-05 Thread Mario A. Imperato
Hi, you out there, I'm looking for help in setting an Apache/Tomcat configuration. Apache: 2.0.48 Tomcat (server and connector): 4.1.29 RedHAT: 9. I've been trying to follow a number of how tos, using the REDHAT installed version of apache, building up my own version. Everything seems to be OK:

charset problems coming up during runtime

2003-11-05 Thread Christoph Lechleitner
Hello together. I have a really weird problem with charset handling concerning special characters like German umlaute (i.e. ä, ö, ü) (it also concerns characters from French and so on). I have done extensive Google and list searches, but all information I found handles installations that are

charset problems coming up during runtime

2003-11-05 Thread Christoph Lechleitner
Hello together. I have a really weird problem with charset handling concerning special characters like German umlaute (i.e. ä, ö, ü) (it also concerns characters from French and so on). I have done extensive Google and list searches, but all information I found handles installations that are

JWSDP installation in Suse8.0

2003-11-05 Thread r h
Hi, I tried to install Java web service developer pack 1.3 which has a built in tomcat container on my suse linux 8.0 OS. But I am getting the following message.. # sh jwsdp-1_3-unix.sh -is:javahome /root/j2sdk1.4.2_02/ Using /var/tmp as temporary directory... Searching for Java(TM) 2 Platform,

installation problem in jk connectors

2003-11-05 Thread geeta
Hi all, I am in the installation stage of Tomcat. Have installed apache, have installed tomcat. But when build jk connectors i am getting the following errors. when I give ./configure --with-apxs=pathtoapache/bin/apxs it is going on well. But when I say make the following err occurs. make

TOMCAT 4.1

2003-11-05 Thread S.Gokul
Hi, I have installed TOMCAT 4.1 version in my machine running WINDOWS 98. I also have the same in my XP machine which is working fine. But when i try to run the startup.bat file in 98, its not running. What should i do? Is there any classpath's i need to set to make it run properly?. Kindly

Re: charset problems coming up during runtime

2003-11-05 Thread Alessandra . Nanni
Check the database charset. UTF8 should supports different languages. Christoph Lechleitner [EMAIL PROTECTED] 05/11/2003 09:31 AM Please respond to Tomcat Users List To: Tomcat Users List [EMAIL PROTECTED] cc: bcc: Subject: charset problems coming up during runtime Hello together. I have

RE: Obtaining JK2 binaries for Linux

2003-11-05 Thread Andy Eastham
Patrick, I found this, but I did manage to compile them from source. Unfortunately my notes don't seem to be that good, but here they are: build mod_jk2: download connector src: jakarta-tomcat-connectors-jk2-2.0.2-src.tar.gz gunzip and untar cd

[OT] How to get a thread dump (was: Severe notification ...)

2003-11-05 Thread Christopher Schultz
Mufaddal, Is there a facility in tomcat that would allow me to dump its threads and allow me to see where the threads are waiting and not moving on ? People need to stop asking this question and do google java virtual machine thread dump. Sheesh... Send the process a STOP signal, and it will

Re: Which is the winner----Singleton Class or Base Servlet????

2003-11-05 Thread Christopher Schultz
kgsat, I use a singleton class for my db requirements in jsps and servlets and also in other beans. One of my friends suggests that using base servlet to do the same work is more efficient. Don't do either of these; use a database connection pool. -chris

Re: JWSDP installation in Suse8.0

2003-11-05 Thread Billy Kantartzis
---Original Message--- From: Tomcat Users List Date: , 05 2003 02:27:27 To: [EMAIL PROTECTED] Subject: JWSDP installation in Suse8.0 when i tried my instalation i just executed the install script without defining where the jdk was and it worked fine Hi,I tried to install Java

Re: memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Dirk Griesbach
Christopher, thanks for your comprehensive response ! See more comments down ... - Original Message - From: Christopher Schultz [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday, October 29, 2003 3:29 PM Subject: Re: memory-leaks in servlets, tool for tracing ?

Re: Problem with mod_jk on RedHat 9

2003-11-05 Thread Mario A. Imperato
It's me again :-) Well, I kept digging into it and here is what it came out. The connector package I have been using is the one in dist/jakarta/tomcat-4/v4.1.29/src the same folder of the application server. (for the App server I actually took the binaries) As I already said I followed pretty

war file tips

2003-11-05 Thread Edson Alves Pereira
Hello folks, i´m making a war file to deploy under tomcat-4.1.24, but there is something that i don´t known. I need to put my TLD files inside WEB-INF, how can i do that? Here´s my simple XML, as example. ?xml version=1.0? !--/--

RE: [OT] How to get a thread dump (was: Severe notification ...)

2003-11-05 Thread Shapira, Yoav
Howdy, At least on unix, it's a QUIT (not STOP) signal. kill -s QUIT processId Where processId, is, well, the process ID of your JVM ;) Yoav Shapira Millennium ChemInformatics -Original Message- From: Christopher Schultz [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003

RE: Allocated instances

2003-11-05 Thread Shapira, Yoav
Howdy, Very interesting, actually... Post the thread dumps if you can... Yoav Shapira Millennium ChemInformatics -Original Message- From: Yonatan Goraly [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 2:05 AM To: Tomcat Users List Subject: Re: Allocated instances I was at

RE: getRealPath woes

2003-11-05 Thread Shapira, Yoav
Howdy, On the dev. and prod. systems the getRealPath method returns the expected string. On the testing environment it returns null. I guess this is because it is too complicated to patch into all the file manipulation functions to allow access to the packed contents of the war file. I

Size of session id in SQLdb

2003-11-05 Thread Francois JEANMOUGIN
Hi all, I would like to use an SQL backend for the tomcat sessions like documented in http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/manager.html I see : create table tomcat_sessions ( session_id varchar(100) not null primary key, [...] The DBA says that setting a primary key

Re: memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Christopher Schultz
Grisi, our TC-based webapplication performs well but the java-processes concerned are showing increasing memory usage over time. For tracing we already stripped the app down to the very basic to get a clue. Wasn't successful enough. Have you looked at the memory over a long time, including

RE: getResourceAsStream woes was: getRealPath woes

2003-11-05 Thread Shapira, Yoav
Howdy, Are you sure the resource specified by APP_FILE_PROPKEY is actually there in your testing environment? Yoav Shapira Millennium ChemInformatics -Original Message- From: Jim Lynch [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 8:00 PM To: Tomcat Users List Subject:

Re: [OT] How to get a thread dump (was: Severe notification ...)

2003-11-05 Thread Christopher Schultz
Yoav, Howdy, At least on unix, it's a QUIT (not STOP) signal. kill -s QUIT processId Oh! Brain fart. Yep, it's QUIT, not STOP. It's still CTRL-\ from the terminal. -chris - To unsubscribe, e-mail: [EMAIL PROTECTED] For

RE: Issues | Suggestion any?

2003-11-05 Thread Shapira, Yoav
Howdy, You're putting too many things in one message. ;) Oracle Connection Pool We have observed that the number of connections during site outages are going beyond 1000 connections. These 1000 connections are jointly held by 12 tomcats with each tomcat having a separate pool. The min amd max

Re: Size of session id in SQLdb

2003-11-05 Thread Christopher Schultz
Francois, create table tomcat_sessions ( session_id varchar(100) not null primary key, [...] The DBA says that setting a primary key forces an index of this field, and that the size could be a problem on the DB. Yeah, 100 characters seems high for a PK. Well, will Tomcat leave old sessions in

best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
I hope this isn't terribly off topic, but I couldn't think of a better list... jim (BTW, is there a way to get at the servlet that's generated by compiling the JSP?) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: large class file generated..

2003-11-05 Thread Shapira, Yoav
Howdy, It's been corrected already, as you'd have seen if you had a version newer than 4.1.18. Yoav Shapira Millennium ChemInformatics -Original Message- From: Amarnath Reddy [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 7:24 AM To: Tomcat Users List Subject: RE: large

RE: memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Shapira, Yoav
Howdy, our TC-based webapplication performs well but the java-processes concerned are showing increasing memory usage over time. For tracing This basic idea that memory usage should be constant over time is very common and usually wrong. The JVM will use as much memory as it needs without

Re: best way to debug JSP's ???

2003-11-05 Thread Christopher Schultz
Jim, [what is the best way to debug JSP's ???] The very best thing to do with JSPs is never put any Java code into them. If you can avoid that, and always use taglibs or other JSP directives, etc. then you'll be much better off. (BTW, is there a way to get at the servlet that's generated by

web.xml parser error

2003-11-05 Thread Antony Paul
am getting this error. Is it possible to know which web.xml caused the error ? [ERROR] Digester - -Parse Error at line 70 column 11: The content of element type web-app must match Antony Paul - To unsubscribe, e-mail: [EMAIL

RE: best way to debug JSP's ???

2003-11-05 Thread Shapira, Yoav
Hola, I hope this isn't terribly off topic, but I couldn't think of a better list... No, it's not off topic. Best way to debug JSPs? Hmm, how about not use any? Just kidding. (Partially). - Have plenty of logging statements in the JSP, outputting various variable values. (BTW, is there a

RE: Preloaded servlet runs init twice

2003-11-05 Thread Shapira, Yoav
Howdy, This is known issue. A known issue? It's a repeating case of user error, there's nothing wrong with tomcat in this case. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary

Re: web.xml parser error

2003-11-05 Thread Christopher Schultz
Antony, am getting this error. Is it possible to know which web.xml caused the error ? [ERROR] Digester - -Parse Error at line 70 column 11: The content of element type web-app must match Which log file is this in? It's probably in the log file for a particular context. If that's the case, then

problems with using UserTransaction and Tyrex

2003-11-05 Thread Uro Jurgli
Hi! I'm trying to use Tyrex for JTA's distributed transaction with mssql on tomcat-4.1.27. I've configured my domain xml file and jndi resource in server.xml as suggested in tomcat documentation page. The jndi resource basically works, it does get bind in jndi and I can retrieve connection from

RE: wierd error.....

2003-11-05 Thread Shapira, Yoav
Howdy, Are you sure the file_not_found.jsp can be compiled? Try pre-compiling it with JspC, then compiling it with javac. If you can't do that, increase the logging level for the JSP servlet and the jasper classes. Yoav Shapira Millennium ChemInformatics -Original Message- From:

RE: Which is the winner----Singleton Class or Base Servlet????

2003-11-05 Thread Shapira, Yoav
Howdy, In addition to what others have said, why don't you ask your highly knowledgeable friend for proof of what he's claiming? Yoav Shapira Millennium ChemInformatics -Original Message- From: kgsat [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 1:36 AM To: Tomcat Users

Re: web.xml parser error

2003-11-05 Thread Antony Paul
It is printed on stderr.log. Every context is working. I found the xml file by editing each xml file and looking for change of line number in error message. Servlet mapping is causing problem. But one interesting thing is that every time it is pointing to last line of the file. What does this

RE: best way to debug JSP's ???

2003-11-05 Thread Don Jones
One of the techniques I use alot is to include a JSP at the bottom of every page that is essentially a JSP Debugging page. This code mines all of the JSP objects and displays all of the values. I can toggle on or off what I want to see and when I go to production I either comment out the

Re: web.xml parser error

2003-11-05 Thread Tim Funk
(probably) http://jakarta.apache.org/tomcat/faq/misc.html#baddtd -Tim Antony Paul wrote: It is printed on stderr.log. Every context is working. I found the xml file by editing each xml file and looking for change of line number in error message. Servlet mapping is causing problem. But one

RE: best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
Thanks for all the responses! jim - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: web.xml parser error

2003-11-05 Thread Antony Paul
I could open the file in IE . I am including my web.xml(a shorter form) ?xml version=1.0 encoding=UTF-8? !DOCTYPE web-app PUBLIC -//Sun Microsystems, Inc.//DTD Web Application 2.3//EN http://java.sun.com/dtd/web-app_2_3.dtd; web-app display-nameMy context/display-name descriptionApplication

RE: JNDIRealm...more

2003-11-05 Thread Robyne Vaughn
Dean, WOW, this is enlightening. Thanks, I'll let you know how it goes. I believe I have the connection name part working. I have not been able to find the user. This helps a lot. Much appreciation, I'll let you know how it goes. Rob -Original Message- From: Dean Searle

Forcing strong authentication with Tomcat 4.0.6 standalone web server

2003-11-05 Thread deric stroud
Hi, I'm trying to configure SSL on a standalone Tomcat webserver 4.0.6. and I can't quite work out how and where to configure the server to allow the use of strong authentication only (1024) during cipher suite negotiation. Does someone what lines to add to server.xml file or otherwise? Thanks!

Re: web.xml parser error

2003-11-05 Thread Tim Funk
Your xml is not valid with respect to the dtd. IE can say a document is well-formed but can't say a document is valid. All servlet elements must appear before any servlet-mapping See http://java.sun.com/dtd/web-app_2_3.dtd -Tim Antony Paul wrote: I could open the file in IE . I am including

Re: Forcing strong authentication with Tomcat 4.0.6 standalone web server

2003-11-05 Thread Tim Funk
http://jakarta.apache.org/tomcat/faq/security.html#https -Tim deric stroud wrote: Hi, I'm trying to configure SSL on a standalone Tomcat webserver 4.0.6. and I can't quite work out how and where to configure the server to allow the use of strong authentication only (1024) during cipher suite

RE: memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Anthony E. Carlos
Yoav, You make a great point about how the app should stabilize it's memory usage over time. However, I've got a question about memory usage when I stop (via Tomcat manager) and reload a webapp via a WAR file. If I understand your point, and I'm close to the max heap size, shouldn't GC free

RE: memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Shapira, Yoav
Howdy, You make a great point about how the app should stabilize it's memory usage over time. However, I've got a question about memory usage when I stop (via Tomcat manager) and reload a webapp via a WAR file. If I understand your point, and I'm close to the max heap size, shouldn't GC free up

Re: web.xml parser error

2003-11-05 Thread Antony Paul
It is solved. I did as per your suggestion. Thank for your reply. I would like to know what are the requirements to become a JSP/Servlet programmer/administrator. Antony Paul - Original Message - From: Tim Funk [EMAIL PROTECTED] To: Tomcat Users List [EMAIL PROTECTED] Sent: Wednesday,

RE: best way to debug JSP's ???

2003-11-05 Thread Anderson, James H [IT]
Don, Could you send a copy of your JSP debugging page? Thanks, jim -Original Message- From: Don Jones [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 05, 2003 9:18 AM To: Tomcat Users List Subject: RE: best way to debug JSP's ??? One of the techniques I use alot is to include a

-Dfile.encoding and tomcat-3.3.1a question.

2003-11-05 Thread Thomas Troeger
Hello, I'm running tomcat-3.3.1a on x86-Linux. There is an issue regarding umlauts (like ä, ö, ß). If I use java-1.4.1: : Java version: : java version 1.4.1 : Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1-b21) : Java HotSpot(TM) Client VM (build 1.4.1-b21, mixed mode) I can

NT Groups

2003-11-05 Thread Hart, Justin
Ok, so, I have a user logged in through JNDIRealm, and I would like to identify what NT groups they are members of. Is this conveniently possible, or do I need to write additional code to query them from our ActiveDirectory.? Justin

Re: -Dfile.encoding and tomcat-3.3.1a question.

2003-11-05 Thread Luiz Ricardo
Hi, this occurs because the JVM 1.4.2 doesn´t permit to set some system properties, especially file.encoding. I solved this problem setting the enviroment variable LANG to pt_BR.ISO-8859-1 (in my case) in catalina.sh. Luiz Ricardo - Original Message - From: Thomas Troeger [EMAIL

Re: best way to debug JSP's ???

2003-11-05 Thread Harry Mantheakis
The very best thing to do with JSPs is never put any Java code into them. If you can avoid that, and always use taglibs or other JSP directives, etc. then you'll be much better off. I second the use of tag libraries. Also, with a decent IDE (such as Eclipse) you can refactor the code in your

Re: web.xml parser error

2003-11-05 Thread Tim Funk
Just follow the specs at ... http://java.sun.com/products/servlet/ http://java.sun.com/products/jsp/ -Tim Antony Paul wrote: It is solved. I did as per your suggestion. Thank for your reply. I would like to know what are the requirements to become a JSP/Servlet programmer/administrator.

Re: [inbox] RE: Preloaded servlet runs init twice

2003-11-05 Thread IvanLatysh
Hello, Shapira,! You wrote to Tomcat Users List [EMAIL PROTECTED] on Wed, 5 Nov 2003 09:07:19 -0500: SY Howdy, This is known issue. SY A known issue? It's a repeating case of user error, there's nothing SY wrong with tomcat in this case. I didn't told that it is an error. It is a known

Re: NT Groups

2003-11-05 Thread Tim Funk
IIRC, the groups can be queried via roleSearch. I thoink I got this to work one day, but my AD server was too damn slow and had to many groups in it to be of any usefulness. http://jakarta.apache.org/tomcat/tomcat-4.1-doc/realm-howto.html#JNDIRealm -Tim Hart, Justin wrote: Ok, so, I have a

jetty

2003-11-05 Thread Steve Harris
Hi all, I'm canvassing opinions - perhaps here is the wrong place to do it but here goes - regarding the jetty apps server. Anyone had any experience of it or compared it to tomcat ? Cheers - Steve - To unsubscribe, e-mail:

JSP Debugging: Eclipse vs. IntelliJIDEA: integration with Tomcat

2003-11-05 Thread Don Jones
Has anyone compared Eclipse vs. IDEA plus others as far as Tomcat integration and overall JSP web app development/debugging? Don Jones Madison WI, USA -Original Message- From: Harry Mantheakis [mailto:[EMAIL PROTECTED] Sent: Wed 11/5/2003 9:38 AM To:

RE: [inbox] RE: Preloaded servlet runs init twice

2003-11-05 Thread Shapira, Yoav
Howdy, A known issue is something that needs fixing. There's nothing in tomcat that needs fixing here. If the user doesn't read or doesn't understand the Context configuration reference, or the Automatic Application Deployment page it links to, that user has a problem. Of course, tips on

RE : memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Laurent Michenaud
What about classes with static method and/or static attributes ? Are they deleted from the old webapp ? -Message d'origine- De : Shapira, Yoav [mailto:[EMAIL PROTECTED] Envoyé : mercredi 5 novembre 2003 15:57 À : Tomcat Users List Objet : RE: memory-leaks in servlets, tool for tracing ?

RE: NT Groups

2003-11-05 Thread Hart, Justin
So, I can get to my realm from my jsp somehow? That would be super-dee-duper. I'm kinda new to JSP, but old to programming. I know I could definately get a lot done if I could hit that realm from the page. Justin -Original Message- From: Tim Funk [mailto:[EMAIL PROTECTED] Sent:

RE : RE : memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Laurent Michenaud
It would be good if some of you writes an kind of howTo that shows : - a webapp with a memory leak. - the use of a profiler program ( with screenshots ) to detect the memory leak. -Message d'origine- De : Laurent Michenaud Envoyé : mercredi 5 novembre 2003 16:56 À : Tomcat Users List

Re: Size of session id in SQLdb

2003-11-05 Thread Harry Mantheakis
I do not understand the last line of that create table statement: Create table tomcat_sessions { ... KEY kapp_name(app_name) ); Hmm... Harry Mantheakis Hi all, I would like to use an SQL backend for the tomcat sessions like documented in

RE: RE : RE : memory-leaks in servlets, tool for tracing ?

2003-11-05 Thread Shapira, Yoav
Howdy, That'd be good, and I think there are some efforts in this area. (Is Peter Lin's apache performance book available for online purchase?) You can google for them. Another one with a specific app is a good idea, but requires a lot of time ;) Yoav Shapira Millennium ChemInformatics

JK/JK2 List

2003-11-05 Thread Joao Medeiros
Hi folks, Does anyone know is there is a distribution list for the JK/JK2 project similar to this one? If not are there any plans or people in this list wanting to start one or aplly for setting up one so that we can start getting some real input, guidelines and orientation from the people

Re: getResourceAsStream woes was: getRealPath woes

2003-11-05 Thread Jim Lynch
Ah, thank you. I neglected to update the build.xml file to include copying that file over. Thanks, Jim. Shapira, Yoav wrote: Howdy, Are you sure the resource specified by APP_FILE_PROPKEY is actually there in your testing environment? Yoav Shapira Millennium ChemInformatics -Original

RE: Tomcat JK Connector DLLs for IIS in IIS 6.0/Win2k3SBS - Won't Load!

2003-11-05 Thread Januski, Ken
Thanks Adam, I haven't had to wrestle with this yet but I know it's waiting for me down the line. Ken -Original Message- From: Adam Krouskop [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 04, 2003 4:14 PM To: 'Tomcat Users List' Subject: RE: Tomcat JK Connector DLLs for IIS in IIS

JSP verification

2003-11-05 Thread Rodrigo Ruiz
Hi all, As part of my compilation script I usually precompile all my webapp JSPs, to catch all compilation errors. My ant script is something like: target name=compileJsp mkdir dir=${jsp.gendir}/ jspc destdir=${jsp.gendir} verbose=9 srcdir=web webapp basedir=web/ classpath

tomcat connector 4.1.29 problem

2003-11-05 Thread Phillip Qin
I upgraded tomcat from 4.1.24 to 4.1.29. There are two issues with the new connector. 1. If I use the old connector 4.1.24 with tomcat 4.1.29, I got this error but tomcat ran fine. INFO: APR not loaded, disabling jni components: java.io.IOException: java.lang.UnsatisfiedLinkError:

RE: JNDIRealm...more

2003-11-05 Thread Hart, Justin
Ok, cool, so, how I have a question about the parts: roleBase=OU=Users,OU=[my OU],DC=[Domain],DC=com roleName=memberOf roleSearch=(memberOf=CN=tomcat,CN=Users,DC=[Domain],DC=com) This is going to specify what roles apply to the user under the

RE: mod_jk2, virtual hosts

2003-11-05 Thread Dean Searle
From looking at your information for the www.domain.com/org you would need to define a new virtual host or try www.doamin.com/org/demo/sample.jsp and make sure you have /home/www/htdocs/www/demo/sample.jsp, as far as I can see you do not have a demo directory in your /home/www/htdocs/www. Hope

RE: JNDIRealm...more

2003-11-05 Thread Hart, Justin
Ok, figured it out. For those who are curious (IE the handful of other people who've been taking part in JNDIRealm threads on this list: roleBase=OU=Users,OU=[Your OU from the userBase],DC=[Domain],DC=com roleName=memberOf roleSearch=(Whatever group all members allowed

Slow response times

2003-11-05 Thread Turansky, Mark
Tomcat 4.1.27 is running in my company's DMZ. Users external to my company's network see the normal, fast response times from Tomcat. On my cable modem at home, it is very fast to respond. Users internal to my company's network (behind our firewall) see very slow response times, often several

  1   2   >