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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mime-mapping is port dependend?

Status
Not open for further replies.

Ueltje

IS-IT--Management
Nov 26, 2004
3
AT
Hi!

Just solved a problem with opening .xls Files by configuring the "web.xml" file of my jakarta-tomcat-4.1.29 by using the mime-mapping tags to tell the Internet Explorer which application to use (Excel in this example)

Everything worked fine (Internet Explorer asked wether I want to open or save the file and then used Excel to display it) until I had to change the port in the server.xml file to "9999" to avoid collision with an other application.

Now it seems as if the "web.xml" file is of no use.
Excel files are displayed as unreadable huddle of characters.

Any suggestions?
Thanks in advance!
Ueltje
 
--------------------
Original Server.xml:
--------------------

<Connector className="org.apache.catalina.connector.http.HttpConnector"
port="80" minProcessors="20" maxProcessors="150"
enableLookups="true" redirectPort="443"
acceptCount="100" debug="0" connectionTimeout="60000"/>

--------------
Latest Config:
--------------
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="9999" minProcessors="20" maxProcessors="150"
enableLookups="true" redirectPort="443"
acceptCount="100" debug="0" connectionTimeout="60000"/>
 
It may be that because 9999 is not a designated HTTP port, that its having problems. Have you tried the HTTP-ALT port (8080) ?

--------------------------------------------------
Free Database Connection Pooling Software
 
Didn't know about a SECOND designated HTTP port, thanks a lot!
Problem seems to be solved!

Thanks for the quick help!!!
 
There are three HTTP-related designated ports that I know of :

80 - HTTP
8080 - HTTP-ALT
8090 - HTTP-ALT-ALT

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

Part and Inventory Search

Sponsor

Back
Top