LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-10-2016, 08:06 PM   #1
kabindra
LQ Newbie
 
Registered: Oct 2016
Posts: 2

Rep: Reputation: Disabled
Linux and Tomcat


Hi,

I am hosting tomcat in Red hat 5.0 for web services. I have a customer connecting to our web services to download the pdf files using Curl program.
The problem I am facing now is whenever the curl sends the soap request the file over 2MB it fails. Does anybody knows if there is a file size limitation in tomcat that I am missing. As I know upload limitation can be control in server.xml file.

Any feedback will be helpful.

Thanks
kabindra

Last edited by kabindra; 10-10-2016 at 08:07 PM.
 
Old 10-11-2016, 07:28 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by kabindra View Post
Hi,
I am hosting tomcat in Red hat 5.0 for web services. I have a customer connecting to our web services to download the pdf files using Curl program.
The problem I am facing now is whenever the curl sends the soap request the file over 2MB it fails. Does anybody knows if there is a file size limitation in tomcat that I am missing. As I know upload limitation can be control in server.xml file.

Any feedback will be helpful.
The first one I can think of is that you're using RHEL 5.0...it is ANCIENT, UNSUPPORTED, and VERY INSECURE. Stop using it immediately, since that is the likely source of most (if not ALL) of your problems. Current Tomcat probably won't even work on something so old, and if you did manage to shoehorn it on, it'll probably give you difficulties. Since your customer is connecting to your 'web services', why on earth are you using something unpatched and insecure for your CUSTOMER DATA????? Load the latest RHEL and PAY FOR SUPPORT...if you're not going to pay, load the latest version of CentOS, load tomcat from the repositories, and continue.

And did you read about how to configure Tomcat??? Look at the maxPostSize variable.
 
Old 10-11-2016, 07:30 AM   #3
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Red Hat 5.0 was my first Linux, the year was 1997.
 
Old 10-19-2016, 05:07 PM   #4
kabindra
LQ Newbie
 
Registered: Oct 2016
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks to all your reply. Yes Red hat 5 is old but I am stuck with it due to application.

For me the issue was resolved by increasing the java heap memory.

Thanks
Kabindra
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Session replication using apache+mod_jk+tomcat(5.5.28-veriosn of tomcat) sreejithp Linux - Server 1 12-24-2010 06:46 AM
Tomcat 6.0 on Linux, after modifying tomcat-users.xml still cannot login. cuian01 Linux - Newbie 1 01-28-2010 03:45 AM
fresh tomcat 5.5 install not showing tomcat homepage laggerific Linux - Software 0 10-26-2007 03:28 PM
TOMCAT init script not working on startup -- tomcat 4.x / Mandrake Linux 8.0 jmartinph Mandriva 0 03-08-2004 01:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration