Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getParameter() problem

Status
Not open for further replies.

jsulman

Programmer
Jun 14, 2001
85
US
Greetings,
I have a question for those of you who have worked with Apache and the Oracle 10g app server.

I am running an application on both Apache and Oracle 10g 10.1.2.0.2. I am sending a large zip file wrapped in an xml as a parameter. When executing a

Enumeration enum = request.getParameterNames()

command it takes about 30 seconds.

The same command on an Apache server takes less than two seconds.

I loop through the enumeration and here are the first few lines of the parameter value. The file is the only parameter.

<Root xmlns:dt="urn:schemas-microsoft-com:datatypes"><Document>CEAS</Document><Data1 dt:dt="bin.base64">UEsDBAoAAAAAALe0ozQAAAAAAAAAAAAAAAAIACQAMTA0MDAwMS8KACAAAAAAAAEAGABirMje
PG/GAWKsyN48b8YBJSXH3jxvxgFQSwMEFAAAAAgAs7SjNOdj4jj8bgAAANAKAA0AJABpbnZl

Does anybody know why this command would take so long on an Oracle server but not Apache? I also have the same problem with the getParameterMap() and getParameter(String) values.

Thanks in advance.

Jeff Sulman

 
You're not overly clear on the servers you are using :

Do you mean that it is taking a long time in OAS, but a short time in Tomcat to do a "request.getParameter()" call ?

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
sedj
The problem is that it is taking about 30 seconds on the OAS and about 2 seconds on Tomcat.

"Does anybody know why this command would take so long on an Oracle server but not Apache?"

Thanks

Jeff
 
In that case, it sounds like a question for Oracle OAS support - the problem is not Tomcat.

In my experience OAS (or OC4J) is an extremely poorly implemented product.

--------------------------------------------------
Free Java/J2EE Database Connection Pooling Software
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top