Change Max Post Size

2006-02-15 Thread Diwan, Dronesh \(Genworth, Contractor\)
Any idea on how to change the maxPostSize in the Connector instead of
using the dafault values.

I have problem in uploading files  2 MB. I tried setting different
values as prescribed but it didn't work.
 http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html 


Thanks
Dronesh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Change Max Post Size

2006-02-15 Thread Diwan, Dronesh \(Genworth, Contractor\)
Thanks Carl for the update.We have already tried changing maxPostSize in
the Connector tag option but it does not work.
Then we thought of changing the maxPostSize from the admin console but
we do not get any option to change the connector
setting. MaxPostSize does not come as an option unlike oother attribute.

Now our last resort is to change the default value of maxPostSize
variable defined in the Connector class and
recompile it.

Thanks
Dronesh

-Original Message-
From: Carl Olivier [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 15, 2006 11:09 AM
To: 'Tomcat Users List'
Subject: RE: Change Max Post Size


Hi.

Its done in the Connector tag within the /conf/server.xml - see the docs
for
the exact attribute but I believe it's the maxPostSize attribute.

Regards,

Carl

-Original Message-
From: Diwan, Dronesh (Genworth, Contractor)
[mailto:[EMAIL PROTECTED] 
Sent: 15 February 2006 16:01
To: users@tomcat.apache.org
Subject: Change Max Post Size

Any idea on how to change the maxPostSize in the Connector instead of
using
the dafault values.

I have problem in uploading files  2 MB. I tried setting different
values
as prescribed but it didn't work.
 http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html 


Thanks
Dronesh


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



__ NOD32 1.1409 (20060215) Information __

This message was checked by NOD32 antivirus system.
http://www.eset.com



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: File /jsp/struts-html not found

2006-01-31 Thread Diwan, Dronesh \(Genworth, Contractor\)
Hi Lothar,
Seems there is some configration problem or tld file is not in place.Can
you send your web.xml and struts-conf.xml.

Thanks,

Dronesh

-Original Message-
From: Lothar Krenzien [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 31, 2006 1:42 PM
To: users@tomcat.apache.org
Subject: File /jsp/struts-html not found


Hi,

I'm having a struts 1.1 application on tomcat 5.5.9. Because of some
mysterious problems (see my previous post can't load any JSP anymore
in this list) I switched to 5.5.15 but now have an another problem. In
the browser I get the following error:

org.apache.jasper.JasperException: File /jsp/struts-html not found
at
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHand
ler.java:105)
at
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java
:430)
at
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java
:154)
at
org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:1
80)
at
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:354)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:381)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:795)
at org.apache.jasper.compiler.Parser.parse(Parser.java:122)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
199)
at
org.apache.jasper.compiler.ParserController.parse(ParserController.java:
153)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:227)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:369)
at
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja
va:473)
at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:190)
at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

In the log file I found the following line 
2006-01-31 19:07:38,801 [INFO ]Exception initializing TldLocationsCache:
XML parsing error on file /WEB-INF/web.xml: (line 3, col 9): Document is
invalid: no grammar found.

But the file is *absolutly* identically with the last working version.
Here's the begin of the web.xml :

?xml version=1.0 encoding=ISO-8859-1?

web-app xmlns=http://java.sun.com/xml/ns/j2ee;
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee web-app_2_4.xsd
version=2.4

/web-app


I can't see any error on it. Does anybody know what could be wrong ? A
few days ago I upgraded to stuts 1.2 but now swichted back to 1.1. In
earlier post I've read that there was a problem with Xerces:

 
http://mail-archives.apache.org/mod_mbox/tomcat-users/200312.mbox/browse
r

But I use the same version that worked all the time. I can't figure out
what could be wrong.
Lothar
__
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



File Upload Problem (file 2 MB)

2006-01-27 Thread Diwan, Dronesh \(Genworth, Contractor\)

Hi,
We are using Jboss 3.2.6 which is internally using Tomcat 5.0.28.We are
having problem in file upload .
We are not able to upload more than 2 MB file.

As specified in your link
http://tomcat.apache.org/tomcat-5.5-doc/config/ajp.html we tried to set
maxPostSize attibute with different values
like 0 , -1 and even specifying a very large value but still the upload
is not working.When we try to get the Form data from the request object
its shows NULL.

Here is the sample setting that we have used in server.xml

 Connector maxPostSize=0 acceptCount=125 connectionTimeout=20
disableUploadTimeout=true port=8080 redirectPort=8443
backlog=150 maxSpareThreads=100 maxThreads=150
minSpareThreads=50


Note :  We tried uploading the file by running our application in only
Tomcat 5.0.28(without Jboss) as a webserver but that also didn't work.


Please let me know your inputs.

Thanks

Dronesh Diwan



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]