Form Data

2005-12-16 Thread Muhammad Owais Ansari
Hi, All I am unable to get the posted xml data from a dotnet application (sending code attached) using the ServletInputStream (code attached). While if I tried to get the same posted data/XML in cgi pearl (code attached) and asp.net thought the inputstream it picks the data/XML as form data,

RE: Tomcat 5.5.12: custom mail resource property values ignored in META-INF\context.xml

2005-12-16 Thread Steve Widmar
This is partially resolved. Turns out there was a copy of $CATALINA_HOME/conf/[enginename]/[hostname]/(my-context-name).xml around from earlier. Not sure if I put it there or tomcat did, but removing that and redeploying got it to recognize my custom props. However, It seems like whenever a

Tomcat 5.5.12: custom mail resource property values ignored in META-INF\context.xml

2005-12-16 Thread Steve Widmar
I'm trying to configure a mail server resource, but I can't seem to get tomcat to honor the custom property values I've provided. In short, it uses [localhost] as the mail.smtp.host even if I set it to something else (my actual smtp server). Here's the details: My META-INF\context.xml: (

Re: Many questions are left unanswered.

2005-12-16 Thread Giorgio Clavelli
Bharathi, Don't be so tragic, I'm sure everybody appreciated you good intentions. It is just not practical what you suggested. Only who never say something, never make mistaks... On 12/17/05, Prathibha, Bharathi <[EMAIL PROTECTED]> wrote: > > Hi Mark, > After seeing one of ur mails As u a

RE: Many questions are left unanswered.

2005-12-16 Thread Prathibha, Bharathi
Hi Mark, After seeing one of ur mails As u are the owner of the mailing lists , I just tried telling u that some questions are left unanswered. After seeing all these mails I am feeling really really bad!I am feeling like I shouldn't have subscribed to this mailing lists in the first

Re: Antwort: tomcat for public IP

2005-12-16 Thread kumar anubhav
yes Jan, I want to enable connections from the internet to my server. what i have to do in configuration or in server.xml i'm not able to findout if u know something then please tell me ASAP. thanx for all -- anubhav --- Jan Behrens <[EMAIL PROTECTED]> wrote: > What do you mean by public IP? Ar

Re: Tomcat Servlets not working

2005-12-16 Thread Martin Gainty
Good Afternoon Christopher- Did you Rebuild your war with the same JVM/JDK that TC 5.0.28 is using? Can you send us the latest log from %CATALINA_HOME%/logs? Martin- - Original Message - From: "Bliesner, Christopher P" <[EMAIL PROTECTED]> To: Cc: "Matson, Wayne" <[EMAIL PROTECTED]> Sent

Re: Tomcat Servlets not working

2005-12-16 Thread Mark Thomas
Bliesner, Christopher P wrote: > Hello, > > I've installed Tomcat 5.0.28 on a Unix System and our applications came > up without a problem. However, the servlets that we have written for > these Apps are not working. They worked fine with TC4.1.12. > > Please help! Here is an example of one of

Re: Tomcat Servlets not working

2005-12-16 Thread Bliesner, Christopher P
Hello, I've installed Tomcat 5.0.28 on a Unix System and our applications came up without a problem. However, the servlets that we have written for these Apps are not working. They worked fine with TC4.1.12. Please help! Here is an example of one of our web.xml files. Did something else chang

Re: Tomcat 5.5.12 clustering - messages lost under high load

2005-12-16 Thread Peter Rossbach
Hey Yogesh, please update to current svn head. s. following bug that now fixed: http://issues.apache.org/bugzilla/show_bug.cgi?id=37896 S. 5.5.14 Changelog the see that more bugs exists inside 5.5.12. Please, report as it works! Peter Tipp: For high load the fastasyncqueue sender mode is

Tomcat clustering under high load

2005-12-16 Thread Yogesh Prajapati
The detail on Tomcat Clustering Load Testing Environment: Application: A web Portal, Pure JSP/Servlet based implementation using JDBC (Oracle 10g RAC) and OLTP in nature. Load Test Tool: Jmeter Clustering Setup: 4 nodes OS: SUSE Enterprize 9 (SP2) on all nodes (kernel: 2.6.5-7.97) Sofwares: JD

Re: Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, On Dec 16, 2005, at 6:18 PM, Martin Gainty wrote: Sebastian- send us the logs specifically stdout_MMDD.log Martin- I've got nothing named "stdout*.log". Where so - Original Message - From: "Sebastian Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, December

Re: Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, thanks a lot. With this two rules it works fine. And again I've learned someting. Thanks again. On Dec 16, 2005, at 7:46 PM, Oscar Mechanic wrote: Add in the follow iptables -A INPUT -j LOG iptables -A OUTPUT -j LOG Then do dmesg -c 2&> /dev/null; Now do a shutdown then dmesg | grep

Re: Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, On Dec 16, 2005, at 6:18 PM, Martin Gainty wrote: Sebastian- send us the logs specifically stdout_MMDD.log Martin- I've got nothing named "stdout*.log". Where so - Original Message - From: "Sebastian Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, December

Tomcat 5.5.12 clustering high load

2005-12-16 Thread Yogesh Prajapati
The detail on Tomcat Clustering Load Testing Environment: Application: A web Portal, Pure JSP/Servlet based implementation using JDBC (Oracle 10g RAC) and OLTP in nature. Load Test Tool: Jmeter Clustering Setup: 4 nodes OS: SUSE Enterprize 9 (SP2) on all nodes (kernel: 2.6.5-7.97) Sofwares: JD

Tomcat 5.5.12 clustering - messages lost under high load

2005-12-16 Thread Yogesh Prajapati
The detail on Tomcat Clustering Load Testing Environment: Application: A web Portal, Pure JSP/Servlet based implementation using JDBC (Oracle 10g RAC) and OLTP in nature. Load Test Tool: Jmeter Clustering Setup: 4 nodes OS: SUSE Enterprize 9 (SP2) on all nodes (kernel: 2.6.5-7.97) Sofwares: JD

Re: Many questions are left unanswered.

2005-12-16 Thread Terence M. Bandoian
Hi- I have found the Tomcat Users List to be an excellent source of information. I don't, however, think that it's a substitute for hard work or basic skills. Nor do I think it should be. Many thanks to the contributors for their efforts. -Terence M. Bandoian >>-Original Message- >>Fr

UserConfig options

2005-12-16 Thread Joel Johnson
I am setting up tomcat 5.5 on a server to be used by multiple users and have run into a few issues, most of which I have found mentioned in archived messages as problems, but no solutions presented. I'm hoping to get a feel for the latest status of the issues, and find out if there are plans to

Re: Many questions are left unanswered.

2005-12-16 Thread Wade Chandler
--- David Delbecq <[EMAIL PROTECTED]> wrote: > 100% mails would get "don't know" answer then, > because at there is always someone who "don't know". > Commonly on mailing lists, if nobody answer, then > nobody has knowledege and/or time to answer your > question. > > Regards, > > Le Vendredi 16

Re: Adjusting Memory

2005-12-16 Thread Mark Thomas
When starting a new thread (ie sending a message to the list about a new topic) please do not reply to an existing message and change the subject line. To many of the list archiving services and mail clients used by list subscribers this makes your new message appear as part of the old thread. Thi

Re: Many questions are left unanswered.

2005-12-16 Thread Martin Gainty
Prathibha. Keep in mind that there are people helping out here who doing so for free without recompense or so much as a thank you These are the same people who are urging you to read http://tomcat.apache.org/faq/tomcatuser.html#why Personally I dont answer any query which is either rude, unpro

Michelle Brett-Mitchell is out of the office.

2005-12-16 Thread mbrett-mitchell
I will be out of the office starting 12/16/2005 and will not return until 12/20/2005. I will respond to your message when I return. Please contact Liz Manning or Thomas Gaffney with any urgent issues. - To unsubscribe, e-mail:

Re: Tomcat and iptables?

2005-12-16 Thread Oscar Mechanic
Add in the follow iptables -A INPUT -j LOG iptables -A OUTPUT -j LOG Then do dmesg -c 2&> /dev/null; Now do a shutdown then dmesg | grep 127.0.0.1 or just dmesg if you are running a cluster What ever comes out is what you are blocking on the local machine I would suggest you do iptables -

Re: MultipartRequest problem

2005-12-16 Thread Franklin Phan
You are correct. My coworker confirmed that cos.jar came with his purchase of a servlet book by Jason Hunter, published by O'Reilly. I recall seeing that JAR in one of the libs. I'll try again with it in the compile path. Thanks. Adam Constabaris wrote: Franklin Phan wrote: I have an

RE: Tomcat and iptables?

2005-12-16 Thread GB Developer
on linux, it's $CATALINA_HOME/logs/catalina.out > -Original Message- > From: Martin Gainty [mailto:[EMAIL PROTECTED] > Sent: Friday, December 16, 2005 11:18 AM > To: Tomcat Users List > Subject: Re: Tomcat and iptables? > > > Sebastian- > send us the logs specifically stdout_MMD

Re: Many questions are left unanswered.

2005-12-16 Thread rusty+tomcat
Yeah, but you'd all get tired of it very fast if I answered "I don't know" to every question that comes by on this list. And that would be true 99.9% of the time. ;) >Hi Mark, > Many questions in this forum are left unanswered . It would be >nice if I , atleast, get a "don't know" an

Re: MultipartRequest problem

2005-12-16 Thread Adam Constabaris
Franklin Phan wrote: I have an old servlet that I need to recompile but cannot because > it references MultipartRequest class. The servlet imports the following packages: import java.io.*; import java.sql.*; import java.util.*; import javax.servlet.*

Re: Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, On Dec 16, 2005, at 6:18 PM, Martin Gainty wrote: Sebastian- send us the logs specifically stdout_MMDD.log Martin- Sorry, but I've got nothing named "stdout*.log". Where should that be? - Original Message - From: "Sebastian Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List"

Re: MultipartRequest problem

2005-12-16 Thread Franklin Phan
The servlet is part of a package in the webapp. I use NetBeans 4.1, and I've linked all lib and class folders under Tomcat and under the webapp into the compile classpath and still fail. Warren Pace wrote: Is the servlet part of a "package" in your webapp? MultipartRequest may be another j

OS X and Tomcat

2005-12-16 Thread Stephen Caine
JT, I'd love to see some performance benchmarks, or just your impression regarding the quad Mac OS X server once you sort our your Tomcat/java stuff. If I could get the Java OPTS correct for memory settings, the results would be more meaningful. My initial impression is that pages come

Re: Tomcat and iptables?

2005-12-16 Thread Martin Gainty
Sebastian- send us the logs specifically stdout_MMDD.log Martin- - Original Message - From: "Sebastian Funk" <[EMAIL PROTECTED]> To: "Tomcat Users List" Sent: Friday, December 16, 2005 11:52 AM Subject: Re: Tomcat and iptables? Hi, Thanks to all, now I entered the ports 8082, 80

Re: Many questions are left unanswered.

2005-12-16 Thread Tim Funk
http://tomcat.apache.org/faq/tomcatuser.html#why -Tim George Sexton wrote: That would primarily be because your questions are badly asked. You might want to read: http://www.catb.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585

RE: Many questions are left unanswered.

2005-12-16 Thread George Sexton
That would primarily be because your questions are badly asked. You might want to read: http://www.catb.org/~esr/faqs/smart-questions.html George Sexton MH Software, Inc. http://www.mhsoftware.com/ Voice: 303 438 9585 > -Original Message- > From: Prathibha, Bharathi [mailto:[EMAIL PRO

Re: Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, Thanks to all, now I entered the ports 8082, 8009, 8443 and 8005 (for shutdown) and now Tomcat works, but I can't shutdown. There comes as usual: Using CATALINA_BASE: /home/tomcat/tomcat Using CATALINA_HOME: /home/tomcat/tomcat Using CATALINA_TMPDIR: /home/tom

RE: Performance degradation under load

2005-12-16 Thread JT Neville
I'd love to see some performance benchmarks, or just your impression regarding the quad Mac OS X server once you sort our your Tomcat/java stuff. If not appropriate for this list, feel free to email me directly. JT -Original Message- From: Martin Gainty [mailto:[EMAIL PROTECTED] Sent: Fr

Re: Performance degradation under load

2005-12-16 Thread Martin Gainty
Marc- What version of JVM? what version tomcat? Martin- - Original Message - From: "Marc Richards" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty" <[EMAIL PROTECTED]> Sent: Friday, December 16, 2005 11:02 AM Subject: Re: Performance degradation under load Thanks - I'm a

Re: Tomcat and iptables?

2005-12-16 Thread David Smith
Look at the connectors you have enabled in server.xml. All those should be included. The shutdown port does not need to be included since it binds to localhost. -- David Sebastian Funk wrote: Hi, I've run a Tomcat-server and it worked fine. Now I've installed "iptables" and I'm getting s

Re: MultipartRequest problem

2005-12-16 Thread Maurice Yarrow
Hello Franklin I have used the apache and the oreilly multipart successfully. (Yes, from oreilly site) Look for the packages containing: (i.e., Google: "apache commons" pkg and also "oreilly cos" pkg) import org.apache.commons.fileupload.*; import com.oreilly.servlet.*; Note also: RFC1867 (ht

RE: Tomcat and iptables?

2005-12-16 Thread Saha Rabindra N
Funk, Check the server.xml file to find out all other ports needed by Tomcat. You will find the server.xml in 'conf' folder under tomcat home. Thanks, RNS -Original Message- From: Sebastian Funk [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 11:06 AM To: Tomcat Users List Subj

RE: Tomcat and iptables?

2005-12-16 Thread Caldarale, Charles R
> From: Sebastian Funk [mailto:[EMAIL PROTECTED] > Subject: Tomcat and iptables? > > I've run a Tomcat-server and it worked fine. Now I've installed > "iptables" and I'm getting some trouble. Wich port do I have to open > for tomcat? Only the 8080 doesn't seem to be enough. What else? Whate

SSL Accelerator Proxy and CONFIDENTIAL resources

2005-12-16 Thread Adam Constabaris
I know questions about this have been asked before on this list and solutions offered, but they haven't worked for me. I've read the proxying documentation, searched through the archives, and scratched my head, and I still don't have a solution I'm 100% confident about. The setup is this: I

Re: Performance degradation under load

2005-12-16 Thread Peter Lin
one possible way is to use a network sniffer to look at the traffic. That should help track down the cause of the performance degredation. if the degredation is caused by long connection times, the TCP traffic should show that. peter On 12/16/05, Marc Richards <[EMAIL PROTECTED]> wrote: > > Tha

Tomcat and iptables?

2005-12-16 Thread Sebastian Funk
Hi, I've run a Tomcat-server and it worked fine. Now I've installed "iptables" and I'm getting some trouble. Wich port do I have to open for tomcat? Only the 8080 doesn't seem to be enough. What else? Best Regards, Sebastian Funk ---

Re: Performance degradation under load

2005-12-16 Thread Marc Richards
Thanks - I'm actually looking at p6spy right now and am going to see if it will help to find out if my problem is in the statements themselves. But this would seem strange to me because remember that each page loads very quickly when there is no load on the web servers. It's only when I put some

Re: Performance degradation under load

2005-12-16 Thread Marc Richards
Yes, we do joins where appropriate and I guess I should clarify the inaccuracy of my initial statement - there is one connection per request (for each individual sql), rather then for each unique table. -marc --- Jess Holle <[EMAIL PROTECTED]> wrote: > Caldarale, Charles R wrote: > > >This real

Re: Performance degradation under load

2005-12-16 Thread Martin Gainty
I was thinking along the same lines and was wondering if the topic of performance tuning would be wandering 'O/T' You will need to find a way to turn on execution plans and trace logs for your DB vendor's DB Instance or on a per session basis Dig thru the DB doc to find how to optimise your queri

Re: Performance degradation under load

2005-12-16 Thread Jess Holle
Caldarale, Charles R wrote: This really sounds like you're not using connection pooling, but instead are opening a new connection for each request. How many do you have configured in the pool? If it's less than the number you see with netstat, that would be another indication that your app is

AW: Noclassdeffound when using jspc ant task

2005-12-16 Thread Linseisen Herbert
Thanks for your help, I found it out now --- due to the ANT_HOME setting in my environment i took the ant version 1.6.2. After switching to ant 1.6.5 everithing works quite well Grüße Herbert Linseisen -Ursprüngliche Nachricht- Von: Bernhard Slominski [mailto:[EMAIL PROTECTED] Ge

Re: Performance degradation under load

2005-12-16 Thread Martin Gainty
also would be helpful to gather performance management info and read the tuning characteristics of your iSeries http://www.redbooks.ibm.com/redpapers/pdfs/redp4026.pdf HTH, Martin- - Original Message - From: "Dov Rosenberg" <[EMAIL PROTECTED]> To: "Tomcat Users List" ; "Martin Gainty"

Re: Displaying PDF's within a servlet

2005-12-16 Thread Lionel Farbos
Hi, iText : http://www.lowagie.com/iText/ Regards. On Thu, 15 Dec 2005 15:17:37 -0800 Khawaja Shams <[EMAIL PROTECTED]> wrote: > Is this a command line utility or does it have some libraries that I can > call from within my java code? If I can call it from within java to render > images, this

Antwort: tomcat for public IP

2005-12-16 Thread Jan Behrens
What do you mean by public IP? Are you refering to a dynamic IP? If so, what exactly is your problem - do you want to enable connections from the internet to a server accessible only through a dynamic IP, something else? Maybe you could provide some more details on what you are trying to do. Ch

tomcat for public IP

2005-12-16 Thread kumar anubhav
hi all, I want to configure my tomcat server for public IP but i didn't get any solution please help if any body running server on public IP. its really urgent thanx for all -- anubhav __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best s

Unable to get the Posted XML Data

2005-12-16 Thread Muhammad Owais Ansari
Hi, All I am unable to get the posted xml data from a dotnet application using the following code in my jsp/servlet. While if I tried to get the same posted data in cgi pearl and asp.net thought the stream it picks the data, The application sending the xml data is not under my control hence c

AW: Noclassdeffound when using jspc ant task

2005-12-16 Thread Bernhard Slominski
Your classpath must be wrong, try to add some debug stuff to see you classpath. The jar file that's missing is: ${tomcat.home}\common\lib\jsp-api.jar For testing you can also copy all libs in one directory to see if that helps. Bernhard > -Ursprüngliche Nachricht- > Von: Linseisen Herbert

RE: Many questions are left unanswered.

2005-12-16 Thread Prathibha, Bharathi
Good idea Ben, :-) Prathibha. -Original Message- From: Ben Souther [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 6:01 PM To: Tomcat Users List Subject: RE: Many questions are left unanswered. Maybe you could keep an eye on the list and help out with some of those 'unanswer

RE: Many questions are left unanswered.

2005-12-16 Thread Ben Souther
Maybe you could keep an eye on the list and help out with some of those 'unanswered' questions. :) On Fri, 2005-12-16 at 07:30, Prathibha, Bharathi wrote: > Hi Jan, >I actually found the answer to my question . There was a small > problem in Tomcat 5.0's source code(in > org.apache.jk.commo

RE: Many questions are left unanswered.

2005-12-16 Thread Prathibha, Bharathi
Hi Jan, I actually found the answer to my question . There was a small problem in Tomcat 5.0's source code(in org.apache.jk.common.HandlerRequest - decodeRequest method ) which , later in 5.5 , has been corrected! So, I was able to communicate this to my associates and business. But , when

RE: Many questions are left unanswered.

2005-12-16 Thread Prathibha, Bharathi
Hi, :-) . Thanks a lot David for taking time to answer my message! Regards, Prathibha. -Original Message- From: David Delbecq [mailto:[EMAIL PROTECTED] Sent: Friday, December 16, 2005 5:45 PM To: Tomcat Users List Subject: Re: Many questions are left unanswered. 100% mails would

Re: Many questions are left unanswered.

2005-12-16 Thread Jan Behrens
Hi, please remember that every help given here is completely voluntary and free. You can _not_ expect to receive an answer to every question and we all (I guess) have enough work to do as it is, without answering to postings we can not offer any help for. Postings like the one below - in my ex

Re: Many questions are left unanswered.

2005-12-16 Thread David Delbecq
100% mails would get "don't know" answer then, because at there is always someone who "don't know". Commonly on mailing lists, if nobody answer, then nobody has knowledege and/or time to answer your question. Regards, Le Vendredi 16 Décembre 2005 12:48, Prathibha, Bharathi a écrit : > Hi Mark,

URLConnection

2005-12-16 Thread ALEX HYDE
Hi All, I need to make a very simple get request from a remote web server each time a user first comes into the site. I wanted to just use the core HttpURLConnection class. It will be thread safe because the object will be used and created in method scope. In the Sun javadoc it says

Many questions are left unanswered.

2005-12-16 Thread Prathibha, Bharathi
Hi Mark, Many questions in this forum are left unanswered . It would be nice if I , atleast, get a "don't know" answer to some of my mails! Thanks & Regards, Prathibha.

AW: Noclassdeffound when using jspc ant task

2005-12-16 Thread Linseisen Herbert
I' tried to compile the jsp-examples of tomcat 5.0 with your ant-file --- but same result: noclassdeffound

How do I restrict user twice login in JSP using session?

2005-12-16 Thread Gangaa D
How do I restrict user twice login in JSP using session? I mean if host1 x1 user already login to system then host2 does not allow login to system x1 user name. How do I solve it? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam pro

AW: Noclassdeffound when using jspc ant task

2005-12-16 Thread Bernhard Slominski
Do you have all your tomcat libs in your classpath? You must have these 3 ind your path: - ${tomcat.home}/bin - ${tomcat.home}/server/lib - ${tomcat.home}/common/lib I send you my buildfile this works fine!

WG: Noclassdeffound when using jspc ant task

2005-12-16 Thread Linseisen Herbert
All I get when i try to run the jspc task of tomcat is --- in any combination tomcat 4 to 5.5 -- what am i doing wrong? I just took the example build file of the tomcat documentation and added my pathnames Apache Ant version 1.6.2 compiled on July 16 2004 Buildfile: jspc2.ant Detected Jav

Re: Re: MultipartRequest problem

2005-12-16 Thread Warren Pace
Is the servlet part of a "package" in your webapp? MultipartRequest may be another java class on your box. > > From: Franklin Phan <[EMAIL PROTECTED]> > Date: 2005/12/15 Thu PM 06:57:12 EST > To: Tomcat Users List > Subject: Re: MultipartRequest problem > > I downloaded Tomcat 3.3.2 and extra

Antwort: RE: Performance degradation under load

2005-12-16 Thread Jan Behrens
Hi Marc, it still sounds like it could be a connection pool issue to me. Which of the available connection pools are you using and how exactly have you set it up in your tomcat config? Maybe we can see something in there. Cheers, Jan Jan Behrens OFFIS FuE-Bereich Betriebliches Informationsman