Re: How to: Tomcat 5.0.16 as Windows Service

2003-12-27 Thread Bill Barker
The README contains most of the info. Unfortunately, the definitive info is still in the code :(. Look at 'procrun.h' for the list and most of the descriptions. "Merrill Cornish" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bill, > >Thanks for the information. I was worried

Re: src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4

2003-12-27 Thread Bill Barker
"Gianluca Toso" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > In data Sat, 27 Dec 2003 19:24:33 +0100 > Gianluca Toso scrisse: > > > Problem build tomcat 5.0.16 with IBMJava2-SDK 1.4.1 on intel. > > "ant" from src abort on src/jakarta-tomcat-connectors/util/build.xml, so I > > have

Re: Newbie needs help with build.properties file for Tomcat5

2003-12-27 Thread Bill Barker
copy 'build.properties.default' to 'build.properties', and change what you need to change. "Barry Kimelman" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] I need help with build.properties file. My system is Linux Redhat 9 running Tomcat 5. I have successfully been able to run the

Re: StringBuffer Factory?

2003-12-27 Thread Tim Funk
While you might gain some speed, you would gain more simplicity by providing a good guess on how large your StringBuffer needs to be on StringBuffer instantiation. Most of the wasted time in using StringBuffer is done when the (internal) buffer is too small and needs reallocated to twice its exi

Newbie needs help with build.properties file for Tomcat5

2003-12-27 Thread Barry Kimelman
I need help with build.properties file. My system is Linux Redhat 9 running Tomcat 5. I have successfully been able to run the examples that came with the Tomcat installation. I have been able to compile my own little test application. I need to know the exact layout/specifications for the "bui

Re: StringBuffer Factory?

2003-12-27 Thread Philipp Taprogge
Hi! George Sexton wrote: This is a really bad idea because of the implementation of StringBuffer.toString() and setLength(). Well, Ok. But this is (IMHO correctly) regarded a bug in the current StringBuffer implementation; a bug that, with luck, will be fixed some day. Or you could write your o

RE: StringBuffer Factory?

2003-12-27 Thread George Sexton
This is a really bad idea because of the implementation of StringBuffer.toString() and setLength(). http://developer.java.sun.com/developer/bugParade/bugs/4724129.html George Sexton MH Software, Inc. Home of Connect Daily Web Calendar Software http://www.mhsoftware.com/connectdaily.htm Voice:

RE: Admintool cannot save changes to servers.xml

2003-12-27 Thread George Sexton
I use the admin app and it works for me. Does the user that Tomcat run under have permissions to the file and directory? -Original Message- From: news [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, December 27, 2003 2:16 PM To: [EMAIL PROTECTED] Subject: Admintool

StringBuffer Factory?

2003-12-27 Thread Philipp Taprogge
Hi! I was just working on a little project of mine when a thought sprang to my mind... In my servlets I often have to assemble Strings like SQL statements and the like. I use StringBuffers for this as they offer much better performance than concat. Now I was wondering: would it make any sense

Need Help - JDBC MySQL + Velocity - Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS)

2003-12-27 Thread Lenny Sorey
I currently have Apache 2.0.48 + Tomcat 4.1.29 + Mod_jk2 + Windows 2000 Server ( No IIS) partially working. I get the static content served via http://mysite. This displays the index.jsp which has not database connection. First of all, I will have to share two web sites with one IP address. T

Re: Memory comsuption

2003-12-27 Thread Philipp Taprogge
Hi! Luis Daniel Alvarez wrote: What about the others 50 or 70 java process with 50M of memory comsuption too? You must understand that the java runtime on linux implements java threads by forking separate processes which if the preferred way on un*xes to do things. What you are seeing with top a

Re: Admintool cannot save changes to servers.xml

2003-12-27 Thread Jacob Kjome
At 11:28 PM 12/27/2003 +0100, you wrote: Philipp Taprogge wrote: Hi! [EMAIL PROTECTED] wrote: Question: What do I have to change in order to enable admintool to save changes to server.xml? I am not entirely sure here, but from what I have read so far I recon that the admin webapp is for making ch

Re: src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4

2003-12-27 Thread Jacob Kjome
You should report this as a bug and attach the patch you provided here to the bug, otherwise it may get lost in the shuffle. http://issues.apache.org/bugzilla/ Jake At 11:33 PM 12/27/2003 +0100, you wrote: In data Sat, 27 Dec 2003 19:24:33 +0100 Gianluca Toso scrisse: > Problem build tomcat 5.0

Re: src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4

2003-12-27 Thread Gianluca Toso
In data Sat, 27 Dec 2003 19:24:33 +0100 Gianluca Toso scrisse: > Problem build tomcat 5.0.16 with IBMJava2-SDK 1.4.1 on intel. > "ant" from src abort on src/jakarta-tomcat-connectors/util/build.xml, so I > have tried ant from this dir: [...] > /usr/local/src/jakarta-tomcat-5.0.16-src/src/jakarta-

Re: Admintool cannot save changes to servers.xml

2003-12-27 Thread [EMAIL PROTECTED]
Philipp Taprogge wrote: Hi! [EMAIL PROTECTED] wrote: Question: What do I have to change in order to enable admintool to save changes to server.xml? I am not entirely sure here, but from what I have read so far I recon that the admin webapp is for making changes to the running tomcat instance

Re: admin app is forbidden

2003-12-27 Thread Jerry Ford
Yes, both admin and manager roles are defined in tomcat-users.xml. The manager app uses the same auth mechanism, doesn't it? But manager works, and admin doesn't. Jerry [EMAIL PROTECTED] wrote: Jerry Ford wrote: I have Tomcat 4.1.27 running with Apache 1.3.27, using mod_jk, on a Linux box

Re: Admintool cannot save changes to servers.xml

2003-12-27 Thread Philipp Taprogge
Hi! [EMAIL PROTECTED] wrote: Question: What do I have to change in order to enable admintool to save changes to server.xml? I am not entirely sure here, but from what I have read so far I recon that the admin webapp is for making changes to the running tomcat instance _only_. If you know in adv

Admintool cannot save changes to servers.xml

2003-12-27 Thread [EMAIL PROTECTED]
Hi Folks, I've just set up Tomcat 5.0.16 on my Linux (SuSe 8.2) and there is one little problem that I couldn't solve from Tomcat's documentation. Problem: Administration tool seems to work fine, but klicking "Commit Changes" after saving does not change anything on server.xml file nor does it

Re: admin app is forbidden

2003-12-27 Thread [EMAIL PROTECTED]
Jerry Ford wrote: I have Tomcat 4.1.27 running with Apache 1.3.27, using mod_jk, on a Linux box (Red Hat 9.0, but custom-installed Apache and Tomcat in /usr/local). I am able to run Tomcat's example servlets, as well as my own custom servlets (installed as a webapp), and the Manager webapp, but

New Object Pooling project

2003-12-27 Thread David Boyer
Hi all, I've released a beta of my Object Pooling software and it's freely available on my web site: http://web.bvu.edu/staff/david/pooling/ This is an extensible Object Pooling system that could be extending to handle pooling of just about any Object type. The initial release contains a full

src/jakarta-tomcat-connectors/util/build.xml bug with IBM jdk 1.4

2003-12-27 Thread Gianluca Toso
Problem build tomcat 5.0.16 with IBMJava2-SDK 1.4.1 on intel. "ant" from src abort on src/jakarta-tomcat-connectors/util/build.xml, so I have tried ant from this dir: [EMAIL PROTECTED]:~/jakarta-tomcat-5.0.16-src/src/jakarta-tomcat-connectors/ util=>ant Buildfile: build.xml detect: bu

RE: Pls sir, Reply me - immediately

2003-12-27 Thread Filip Hanik
put a package name in Company.java and then do an import statement in the top of your JSP to import my -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Saturday, December 27, 2003 4:42 AM To: [EMAIL PROTECTED] Subject: Pls sir, Reply me - immediately Hi sir,

Pls sir, Reply me - immediately

2003-12-27 Thread kumaran
Hi sir, Actually, i have developed the 3 file. First one, CreateForm.jsp file and second one is Company.java and another is RetrieveData.jsp. Actually concept is just give the company name,street,city,state,zip and display it. So I have compiled Company.java file and put the class file in c:/

How to map Absolute URIs to subdirs in Tomcat's 'ROOT' context?

2003-12-27 Thread Jeffery Cann
Greetings. I have an application that is currently running within my $CATALINA_HOME/webapps/mywebapp directory. I access it as: http://localhost:8080/mywebapp/ Within this webapp, there is an 'img' subdirectory. This contains all of the site images used in JSPs: $CATALINA_HOME/webapps/mywebap

RE: java.lang.OutOfMemoryError

2003-12-27 Thread James Black
You may need to go modify Catalina.bat (I guess that is what it would be on Win2k), add a JAVA_OPT variable, such as JAVA_OPT=-mx512M. I don't remember if it is -mx or -mX though. This will set the highest heap size that the java application can use. You may want to set it to 2 or 3GB though

RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong
Window Server 2000 with service pack 2 and my application is connecting with MS sql 2000 with no service pack install -Original Message- From: Antony Paul [mailto:[EMAIL PROTECTED] Sent: 26 December 2003 11:07 PM To: Tomcat Users List Subject: Re: java.lang.OutOfMemoryError Please specif

RE: To LAM JEE RE: java.lang.OutOfMemoryError

2003-12-27 Thread Lam Chee Choong
i am working on window 2000 server and MS SQL 2000..u mean i need to shutdwon the sql server when i wish to reload my application?? -Original Message- From: akki [mailto:[EMAIL PROTECTED] Sent: 27 December 2003 10:41 AM To: Tomcat Users List Subject: To LAM JEE RE: java.lang.OutOfMemoryEr