RE: Money for Projects

2002-04-17 Thread Dahnke, Eric
imo there's nothing wrong with what this person is putting together. what's the harm. -Original Message- From: Jay Gardner [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 17, 2002 1:57 PM To: Tomcat Users List Subject: RE: Money for Projects Go away and don't come back!!

Older TC version (v4.0-b7)

2002-04-11 Thread Dahnke, Eric
How might I find the tomcat.exe file that came with the v4.0-b7 release of TC for Windows. BTW, TC v4.0-b7 is what is packaged w/ the jwsdp from Sun, and it doesn't have the tomcat.exe file necessary to start TC as a service on NT. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional

RE: How to run tomcat as service program in Win2k [[HELP]]

2002-04-11 Thread Dahnke, Eric
I've followed this thread and am still having no luck. Here's the situation. The TC that comes with jwsdp is TC4.0b7. This release of TC doesn't include a tomcat.exe file, so I grabbed one from the TC4.0.1 release. I then run following from the cmd prompt. %CATALINA_HOME%\bin\tomcat.exe

RE: Re[2]: How to run tomcat as service program in Win2k [[HELP]]

2002-04-11 Thread Dahnke, Eric
Thanks for the response: jdk1.3.1_02 I tried both %JAVA_HOME%\jre\bin\classic\jvm.dll and %JAVA_HOME%\jre\bin\hotspot\jvm.dll same result. -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: Designing for scalability ?

2002-04-10 Thread Dahnke, Eric
A software solution is to use Windows 2000 Advanced Server. In a clustered environment, there is a parameter called Affinity. Affinity will maintain the client's session to one particular server in the cluster. Advanced Server works by assigning the cluster 1 IP address and each individual

RE: jk_nt_service with 4.0.1, can't find my web.xml

2002-04-08 Thread Dahnke, Eric
i've been watching this thread, as i've got to do the same thing here. tc4.0 on win2k as a service. would you be so kind as to put together a brief howto when you get it. btw, i have been trying for a few days, but always get thankfully side tracked with somethign else. -Original

RE: Oracle Drive and Tomcat 4

2002-04-05 Thread Dahnke, Eric
TC4 needs jar files to have the .jar extension. This was not true of TC3. In my case I always unzip the file, and build it back using the jar command. I don't just change the file extension from .zip to .jar -Original Message- From: Jack Li [mailto:[EMAIL PROTECTED]] Sent: Friday, April

RE: Re[2]: Oracle Drive and Tomcat 4

2002-04-05 Thread Dahnke, Eric
just being extra careful. didn't know jar and zip were so similar. thx for the info -Original Message- From: Jacob Kjome [mailto:[EMAIL PROTECTED]] Sent: Friday, April 05, 2002 12:12 PM To: Tomcat Users List Subject: Re[2]: Oracle Drive and Tomcat 4 Hello Eric, Why would you need to

HTML special chars - convert

2002-04-04 Thread Dahnke, Eric
using java how can I convert (unescape) html special chars like lt;brgt; to br? regards -- To unsubscribe: mailto:[EMAIL PROTECTED] For additional commands: mailto:[EMAIL PROTECTED] Troubles with the list: mailto:[EMAIL PROTECTED]

RE: TOMCAT STOPS!

2002-04-03 Thread Dahnke, Eric
If this is true: If we use lynx on the server running Tomcat, we CAN access the pages. then Tomcat is not your problem, and it is more likely a networking / firewall issue. When it goes down what does telnetting to port 80 show you? How about traceroute? could also be a hostname dns

TC Performance Testing

2002-03-28 Thread Dahnke, Eric
Performance Testing: Test Machine: TC4.0, JDK1.3.1_01, RH7.1, 700MHZ, 256M Page being served = h1Hello World/H1 index.html concurrent users: 10 requests/sec: 39 test duration : 5 mins result code 200 (pages served) : 11690 result code NA

RE: TC Performance Testing

2002-03-28 Thread Dahnke, Eric
I have tested Apache 1.3.x and IIS serving static pages using these parameters and both display about 2x the performance. (twice as many pages served in the same amount of time and half as many errors). IS THERE ANYTHING I CAN DO TO INCREASE TC PERFORMANCE. (ie. MinSpareServers 5,

RE: Multiple users share java bean?

2002-03-27 Thread Dahnke, Eric
If I comment out the init() method in my servlet do I get an instance of it for each request? Do people commonly do this? I suspect that if you do this Eric, it won't compile... It compiles fine, and works fine too. But I haven't testing it in a multiuser environment yet. -- To unsubscribe:

RE: Page Loading occurring causing double POST messages

2002-03-27 Thread Dahnke, Eric
Some browsers might execute your javascript *AND* submit your form if the submit button and form tags are correct. Make sure you're doing one or the other, not both. -Original Message- From: Pavel Brun [mailto:[EMAIL PROTECTED]] Sent: MiƩrcoles, 27 de Marzo de 2002 02:08 p.m. To:

RE: AW: Multiple users share java bean?

2002-03-26 Thread Dahnke, Eric
Referring to this point: Great, that's what I thought. But here's why I'm getting confused. The servlet tutorial says that a servlet is created once and once only (that's when the init() is run). If I comment out the init() method in my servlet do I get an instance of it for each request?

BufferedReader oject between servlet and jsp

2002-03-20 Thread Dahnke, Eric
wondering if someone might help me out. I'm trying to pass a BufferedReader object between a servlet and jsp page using the session. on the jsp page I want to read out line by line the BufferedReader object. The idea works within the servlet code as shown, but within the jsp page no matter what I

RE: Where's my fish? How do I go fishing? (Tomcat 4.0)

2002-03-19 Thread Dahnke, Eric
If there is a JSP page either calling the servlet or the servlet includes or forward to a JSP page, you may want to try to touch *.jsp in the dirs containing the jsps. HTH -Original Message- From: JavaJosh [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 4:08 PM To: [EMAIL

RE: JAXMServlet + SOAP

2002-03-18 Thread Dahnke, Eric
I recently did this by parsing the SOAP Message (via JAXM) with SAX. My parser class happily takes an XML file or any kind of input stream, so I just wrote the SOAP message out to a OS (did a OS - IS conversion as follows). // write the SOAPMessage to an OutputStream, convert that to // a

JDBC mSQL

2002-03-11 Thread Dahnke, Eric
Is anyone using mini-sql (mSQL) w/ jdbc. If so could you send me your driver .jar file and an example of how you're calling it. I've installed msql-jdbc-1-0.jar, but no matter how I call it, I get a Connection failed. java.sql.SQLException: Connection failed. at

RE: NEED HELP TO DEFINE ENTRY POINT FOR MY APPLICATION

2002-03-06 Thread Dahnke, Eric
Take a look at MVC architectures. -Original Message- From: Barney Hamish [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 9:41 AM To: 'Tomcat Users List' Subject: RE: NEED HELP TO DEFINE ENTRY POINT FOR MY APPLICATION Rather than writing your own, maybe you should think

RE: how to set env varible

2002-03-06 Thread Dahnke, Eric
This has always been a question of mine too. You've got to get the modified environment variables (JAVA_HOME, CATALINA, etc) to the user session starting Tomcat. Often times I've had to reboot as all users get the env variables read to them from /etc/profile at startup. Hope that answers your

RE: runaway process in java while using tomcat

2002-03-04 Thread Dahnke, Eric
Does the process go away or release back CPU eventually? On what system? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 6:41 PM To: '[EMAIL PROTECTED]' Subject: runaway process in java while using tomcat Hello, I am hoping someone

Problem starting Tomcat4 (starts then stops)

2002-02-27 Thread Dahnke, Eric
Hello, Does anyone know why upon running ./startup.sh my RH7.1 box briefly shows some java activity, but then quits. Here is the output of ps ax. These processes live for a few seconds then... nothing. 2836 pts/1R 0:01 /usr/java/jdk1.3.1_01/bin/i386/native_threads/java

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Dahnke, Eric
The only password you could ever change is the one for the user Tomcat is running as (nobody i believe). I've been down the road you're going down. Your options are: -1- (compiling apache/tomcat to run as user root (unreasonable on anything other than a intranet environment). big security

RE: changing a user's password on linux using jsp exec.

2002-02-14 Thread Dahnke, Eric
a user's password on linux using jsp exec. Hi Dahnke, The cron idea seems interesting. Do you have something working? Or even an example for me to follow. Thanks. --- Dahnke, Eric [EMAIL PROTECTED] wrote: The only password you could ever change is the one for the user Tomcat is running

RE: How can I tell who is connecting to the database?

2002-02-13 Thread Dahnke, Eric
You can turn on logging with MySQL with the -l flag. I'll assume you're running on a unix* system. Where MySQL starts up add a -l flag to it. Below is how it is on my machine (linux RPM install) $bindir/safe_mysqld -l --datadir=$datadir --pid-file=$pid_file then your log file will be created

Sharing a bean between servlet and jsp. Arrggghhhhh

2002-02-11 Thread Dahnke, Eric
Now I'm going crazy. This can't be so hard. Please help... I can't figure this out. I'm trying to share a bean between a jsp page and servlet. Arggh... Please I help on other lists... and donate time to charity. I've been to Barnes and Noble and looked at a heap of texts. I've done no

Using a JavaBean from within a servlet

2002-02-10 Thread Dahnke, Eric
Hello, This is killing me. I've got a form that posts to a servlet. I simply want to get the form variables into a bean's properties. I can find only one reference to what I'm trying to do here. it is a formToBean() method from a FormUtils package, that some company sells. Reading form

RE: Using a JavaBean from within a servlet

2002-02-10 Thread Dahnke, Eric
on. Regads, eric -Original Message- From: Charles Baker [mailto:[EMAIL PROTECTED]] Sent: Sunday, February 10, 2002 7:28 PM To: Tomcat Users List Subject: Re: Using a JavaBean from within a servlet --- Dahnke, Eric [EMAIL PROTECTED] wrote: Hello, This is killing me. I've got a form