Re: Restarting Tomcat

2002-03-27 Thread Ying Su
Dear Sourabh I checked the application log in the event logger, but didn't find other errors except this one--Apache Tomcat: The Java Virtual Machine has exited with a code of 2, the service is being stopped. " This error was tracked when i tried to start Tomcat. Can you help on that? Thanks!

Re: Restarting Tomcat

2002-03-27 Thread Sourabh Kulkarni
Hi Ying, Is there any other service running on your machine on the same port? Maybe that gets started at restart of the computer. Service might have been set as automatic. However, it takes time to start. So if you start tomcat immediately, you get no errors. In that case, that particular serv

Re: Restarting Tomcat

2002-03-27 Thread Ying Su
Dear ASalam, But netstat won't show me which program is using port 80. And I can't change the port in my server.xml because I must use port 80 for listening. Could you tell me whether there are other means to check it? Thanks a lot! Ying - Original Message - From: "ASALAM" <[EMAIL

Re: Restarting Tomcat

2002-03-27 Thread ASALAM
Hi Ying , netstat will work. Just try changing the port in your server.xml file. ASalam. - Original Message - From: "Ying Su" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 11:43 AM Subject: Re: Restarting Tomcat > Dear ASalam, > How to check it? Netstat com

Re: Restarting Tomcat

2002-03-27 Thread Ying Su
Dear ASalam, How to check it? Netstat command or other means? I am using Windows 2000 server. Thanks! Ying - Original Message - From: "ASALAM" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 1:58 PM Subject: Re: Restarting Tomcat > Hi Ying, > P

Re: Restarting Tomcat

2002-03-27 Thread ASALAM
Hi Ying, Please check if any other service uses the same port. Then you try to change the HttpConnector port value in the server.xml file ASalam. - Original Message - From: "Ying Su" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, March 28, 2002 9:43 AM Subject: Re: Re

Re: Restarting Tomcat

2002-03-27 Thread Ying Su
Dear all, When Tomcat was just installed on my machine, I can start and stop it by hand perfectly. But now I met the same problem as Rob Clother met. I checked the services on my machine, but "Apache Tomcat" was not running. But when I restart my computer and execute the startup.bat immediate

Re: classpath error

2002-03-27 Thread ASALAM
Hi Tejas, I think your import statement should be "import javaservlets.reportit.report;" not "import javaservlets.reportit;" ASalam. - Original Message - From: tejas patel To: [EMAIL PROTECTED] Sent: Wednesday, March 27, 2002 11:34 PM Subject: classpath error

Re: A Question Regarding URLs - Help

2002-03-27 Thread Pavel Vesely
just send redirect to same page without parameters after processing request Jesus, Leader optimist of Deepend Prague | Karlovo nam. 17 | 12000 | Praha 2 T +420 (2) 2198 6250 F +420 (2) 2198 6251 W www.deepend.cz | W www.deepend.com A wise man learns more from a fool than the fool from the wise

Re: tutorial on custom containers

2002-03-27 Thread Nic Ferrier
Daniel Legziel <[EMAIL PROTECTED]> writes: > Can anyone refernce a good tutorial for designing custom containers > for my own messages implementing else my own nomenclature (NO HTTP) Here's a brief tutorial: Don't do it. There has been a lot of discussion here about this issue, check the archiv

tutorial on custom containers

2002-03-27 Thread Daniel Legziel
Can anyone refernce a good tutorial for designing custom containers for my own messages implementing else my own nomenclature (NO HTTP) DANIEL ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of

A Question Regarding URLs - Help

2002-03-27 Thread Alex Pop
I have a servlet which uses a form to send some information. Currently it uses the 'get' method and the URL appears similar to below: http: // ... /servlet/LoginServlet?userName=A&textfield=&ACTION=Login However, after the GET, the URL stays like above, and when the page is refreshed, the data i

Hi guys tomcat - Apace SSL config problems..

2002-03-27 Thread Vijay Naidu
Hi Guys, I am got Tomcat-Apache 4.02 installed and running SSL connection on port 8443. One thing I noticed is that when there is a period of inactivity the port goes down. There is no connection at that port. If I try to connect to that port I get an error. I also checked out the server using the

Re: tldConfigJar error in Tomcat 4.0.3

2002-03-27 Thread James Lewis
Thanks for this, The problem is that this is one of many such messages in the logs. Basically all .jar placed in the WEB-INF/lib/ are returning this error (about ten of them). I'll post on tomcat-users. But thanks-again>>> [EMAIL PROTECTED] 03/28/02 04:09AM >>>I've been having SMTP problems,

Re: Test Servlet

2002-03-27 Thread Gennis Emerson
"Jeremy W. Redmond" wrote: > > Supposedly HttpUnit is a good way to test servlets. I have only read about > it, but have yet to try it. > > http://httpunit.sourceforge.net/ > Here are a couple of examples that might give the flavor of HttpUnit and Cactus. HttpUnit is a tool for making HTTP requ

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Nic Ferrier
"Ouyang, Jian" <[EMAIL PROTECTED]> writes: > Nic, > > If I have xml string: > > > text1 >text2 >text3 > > > I want to display it as it shown in the browser. But if I output this xml > string to the browser, I will get: > text1text2text3 > > Is this clear to you? Please help. Thanks.

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Vijay Naidu
if it does not work the same logic applies. I think all the problem was Ouyang, Jian was just setting the content type without setting the "charset" as the parameter, Try passing that too in the setContentType like response.setContentType("text/xml; charset=ISO-8859-1" );I think that should work f

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Chen, Gin
actually in a servlet.. it will also work with response.setContentType("text/xml"); at least it does with my apps.   Environment:     Servlet 2.2 (and 2.3)     IE 5.5 sp2   -Tim -Original Message-From: Chen, Gin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 27, 2002 1:46 PMTo:

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Chen, Gin
it will.. use setheader for contenttype.. much like displaying excel spreadsheets -tim -Original Message-From: Richard Yee [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 27, 2002 1:44 PMTo: [EMAIL PROTECTED]Subject: Re: Output xml string from a servlet directly to browser and

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Richard Yee
This isn't going to work in a SERVLET. -Richard At 01:31 PM 3/27/2002 -0500, you wrote: Dont use a response.setContentType do this instead: <%@ page contentType="text/xml;charset=ISO-8859-1" %> then just write out the xml example:   <%@ page contentType="text/xml;charset=ISO-8859-1" %>   text1  

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Ouyang, Jian
Gin,   That's it. Thank you very much.   Jian   __ Jian Ouyang Enterprise Business Services Delta Technology 4-1822 [EMAIL PROTECTED] http://dtweb/ebs/ -Original Message-From: Chen, Gin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 27, 2002 1:32 PMTo: [EMAI

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Chen, Gin
BTW.. if this doesnt seem to work.. close the browser window then reopen it. or clear the cache. -Tim -Original Message-From: Chen, Gin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 27, 2002 1:32 PMTo: [EMAIL PROTECTED]Subject: Re: Output xml string from a servlet directly to

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Chen, Gin
Dont use a response.setContentType do this instead: <%@ page contentType="text/xml;charset=ISO-8859-1" %> then just write out the xml example:   <%@ page contentType="text/xml;charset=ISO-8859-1" %>  text1  text2   text3 -Original Message-From: Ouyang, Jian [mailto:[EMAIL PROTECT

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Lindsay, William (USPC.PCT.Hopewell)
We've had some similar strange behaviour with servlet generated formats. Specifically with "PDFS" but the solution for encouraging IE to treat the incoming data was to append the "file extension" to the URL, like http://myurl/mypath/myXMLservlet?dummyarg=mydummyfile.xml We had to appen

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Vijay Naidu
try setting the content type asresponse.setContentType("text/xml; charset=UTF-8" );Vijay Naidu -Smile Is A Curve That Makes Everything Straight. Keep Smiling - Fr

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Duane Morse
First try some more to see if you can't make the browser accept the data type as XML and do what you want without making you jump through hoops. If all else fails, use the tag before and after your XML and change '<' to < and '>' to > Duane Morse, Eldorado Computing Inc., Phoenix, Arizona --

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Mike Hargrove
Jian, Are you sending the document type with the xml string? eg: MH -Original Message- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Ouyang, Jian Sent: Wednesday, March 27, 2002 12:17 PM To: [EMAIL PROT

Re: classpath error

2002-03-27 Thread Vijay Naidu
you have to set ur classpath TO your package. For e.g if ur package is c:\tejas\javaservlet\mypackage then u have to set ur classpath as set classpath=%classpath%c:\tejas; in Unix if ur package is under /tejas/javaservlet/mypackage then u have to set ur classpath to setenv CLASSPATH=/tejas:Vijay N

Re: Test Servlet

2002-03-27 Thread Jeremy W. Redmond
Supposedly HttpUnit is a good way to test servlets. I have only read about it, but have yet to try it. http://httpunit.sourceforge.net/ ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the mess

Re: Output xml string from a servlet directly to browser and preserve the xml structure

2002-03-27 Thread Richard Yee
If you have your XML string in the middle of an HTML file, you will need to replace all <,>, and " with their HTML equivalents (ie. <>, and ") -Richard At 12:49 PM 3/27/2002 -0500, you wrote: >Hi, > >I asked for help in displaying xml in IE as it is and get little hint. Let >me restate the prob

Re: Output xml string from a servlet directly to browser and pres erve the xml structure

2002-03-27 Thread Ouyang, Jian
Nic, If I have xml string: text1 text2 text3 I want to display it as it shown in the browser. But if I output this xml string to the browser, I will get: text1text2text3 Is this clear to you? Please help. Thanks. Jian -Original Message- From: Nic Ferrier [mailto:[EMAIL PR

Re: Test Servlet

2002-03-27 Thread David Hyne
Yes, I am also trying to create test harness in JUnit for the servlets I've written. To take this one step further, the test harnesses to cover my DAO objects. But the problem is JUnit runs from command prompt so having Server JNDI lookup errors, for DAO the driver manager is not loaded and so o

Re: Output xml string from a servlet directly to browser and preserve the xml structure

2002-03-27 Thread Nic Ferrier
"Ouyang, Jian" <[EMAIL PROTECTED]> writes: > I want to be able to use an output method to directly output from > servlet to browser an xml string with the xml tags preserved and the > xml structure clearly presented. (The result should be the same as > if one clicks on an .xml file). I'm not sur

Re: upload fails in MultipartRequest for large files

2002-03-27 Thread Jason Hunter
Great bug report! This isn't related to the AIOOBE exception that was common with Servlet API 2.0. It looks to me like you've found a bug in the ajp13 connection logic. I'd suggest posting to tomcat-dev with this report. In the meanwhile, I'd experiment with a different connector. Please let

classpath error

2002-03-27 Thread tejas patel
Hi all, I have created package and put my servlets under it this is my costlist.java file which is under javaservlet/mypackage directory package javaservlets.mypackage; import javaservlets.reportit; public class costlist extends HTTPSERVLETS{  method  doPost()  method Report()   { report r1 =

When does the response get written

2002-03-27 Thread Varley, Roger
Hi All I have a servlet (running under TomCat) that serves up requests for product information. The servlet gets the information required and then writes the data back to the response objects writer. I've now been asked to log these requests and since this will involve writing to an output file I

Output xml string from a servlet directly to browser and preserve the xml structure

2002-03-27 Thread Ouyang, Jian
Hi, I asked for help in displaying xml in IE as it is and get little hint. Let me restate the problem. I want to be able to use an output method to directly output from servlet to browser an xml string with the xml tags preserved and the xml structure clearly presented. (The result should be th

Re: tldConfigJar error in Tomcat 4.0.3

2002-03-27 Thread Christopher K. St. John
I've been having SMTP problems, apologies if this is a duplicate. "2002-03-27 12:01:03 ContextConfig[/rms]: tldConfigJar (/WEB-INF/lib/xerces.jar): java.io.IOException: No such file or directory" You might want to try this question on tomcat-users, but that message may be misleading.

Re: [ANN] MinimalTomcat Alpha 0.3 "It's got moxie!"

2002-03-27 Thread Galbreath, Mark
Now THAT'S funny!   Mark -Original Message-From: Chen, Gin [mailto:[EMAIL PROTECTED]]Sent: Wednesday, March 27, 2002 9:11 AMTo: [EMAIL PROTECTED]Subject: Re: [ANN] MinimalTomcat Alpha 0.3 "It's got moxie!" no.. i'm sure that my email address is correct. want proof? i tell pe

Re: Test Servlet

2002-03-27 Thread Galbreath, Mark
This is a trick question, right? If it isn't, RUN, don't walk, to http://www.tuxedo.org/~esr/faqs/smart-questions.html Mark -Original Message- From: Osama Mohsin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 8:17 AM To: [EMAIL PROTECTED] Subject: Test Servlet Hi everybody

AW: Test Servlet

2002-03-27 Thread Carsten John
Take Borland JBuilder is good for debuging Servlets! (Tomcat is included) Carsten -Ursprüngliche Nachricht- Von: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]Im Auftrag von Osama Mohsin Gesendet: Mittwoch, 27. März 2002 14:2

Re: Test Servlet

2002-03-27 Thread Chen, Gin
i see. well there's always commercial tools like loadrunner or jprobe. if you want more tools like junit. then look into some of the other tools available at jakarta (jmeter for instance). if you have a particular thing you want to test (memory usage, load balancing, etc..) we might be able to rec

Re: Test Servlet

2002-03-27 Thread Osama Mohsin
I'd like to test it using JUnit or something like this. Is there a tool better than JUnit? I have already tested it on Tomcat, but I want to do automated test. -Original Message- From: Chen, Gin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 5:17 PM To: [EMAIL PROTECTED] Subje

Re: Test Servlet

2002-03-27 Thread Raghupathy, Gurumoorthy
download tomcat : and see how it works guru -Original Message- From: Osama Mohsin [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 13:17 To: [EMAIL PROTECTED] Subject: Test Servlet Hi everybody, I have been working in developing some servlets what is the best way to test my servl

Re: tldConfigJar error in Tomcat 4.0.3

2002-03-27 Thread Chen, Gin
make sure that the file exists within the /rms directory of webapps. then make sure it is not a corrupt file. -Tim -Original Message-From: James Lewis [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 26, 2002 7:22 PMTo: [EMAIL PROTECTED]Subject: tldConfigJar error in Tomcat 4.0.3

Re: Test Servlet

2002-03-27 Thread Michael Shoemaker
Run it in a servlet container. --- Osama Mohsin <[EMAIL PROTECTED]> wrote: > Hi everybody, > > I have been working in developing some > servlets what is the best way > to test my servlet. > > Thanks, > Osama > > ___

Re: Test Servlet

2002-03-27 Thread Chen, Gin
Is there something in particular that you want to test? Something above just deploying it and seeing if it works? -Tim -Original Message- From: Osama Mohsin [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 27, 2002 8:17 AM To: [EMAIL PROTECTED] Subject: Test Servlet Hi everybody,

Test Servlet

2002-03-27 Thread Osama Mohsin
Hi everybody, I have been working in developing some servlets what is the best way to test my servlet. Thanks, Osama ___ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signof

Re: I still receive an error message

2002-03-27 Thread Chen, Gin
In the case that you want to unsubscribe this list that u are currently on. then look on the bottom of the emails. -Tim -Original Message-From: j copping [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 26, 2002 7:39 PMTo: [EMAIL PROTECTED]Subject: Re: I still receive an error mes

Re: [ANN] MinimalTomcat Alpha 0.3 "It's got moxie!"

2002-03-27 Thread Chen, Gin
no.. i'm sure that my email address is correct. want proof? i tell people my email address and i get my email. so there. as a matter of fact, i have many email addresses and, as far as i can tell, they are all correct. -Tim -Original Message-From: j copping [mailto:[EMAIL PROTECTED]

Re: display xml as it is.

2002-03-27 Thread Galbreath, Mark
Somebody better stop hitting "reply all"   Mark -Original Message-From: j copping [mailto:[EMAIL PROTECTED]]Sent: Tuesday, March 26, 2002 7:34 PMTo: [EMAIL PROTECTED]Subject: Re: display xml as it is. YOU HAVE THE WRONG E-MAIL ADDRESSPLS ADJUST RECORDS >Fr

Re: SV: help with apache and tomcat

2002-03-27 Thread Raghupathy, Gurumoorthy
what are the changes need to be done on apache side ? regards guru -Original Message- From: Klosa Uwe [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 10:39 To: [EMAIL PROTECTED] Subject: SV: SV: help with apache and tomcat Yes here is my server.xml:

SV: SV: help with apache and tomcat

2002-03-27 Thread Klosa Uwe
Yes here is my server.xml:

Re: SV: help with apache and tomcat

2002-03-27 Thread Raghupathy, Gurumoorthy
can you please send me the example of the the ajp connectiion. The documentation is not that clear Please ? Thanks guru -Original Message- From: ASALAM [mailto:[EMAIL PROTECTED]] Sent: 27 March 2002 02:51 To: [EMAIL PROTECTED] Subject: Re: SV: help with apache and tomcat Hi Uwe,