Best unofficial Apache Server developers community
Username
Forgot password?
Sign in with Twitter account
Sign in with Facebook account

href URL document retrieval issue using Apache Tomcat


We are trying to get our Apache Tomcat web server to open static documents from the web server's file structure. We do this by allowing the user to click on an href in a jsp which in turn tells the web server to open a file on a new web page.

All is working pretty well except that the web server is inserting a :8080 in the URL for the document.

for example:

http://localhost:8080/files/myfile/sampleDocument.doc

When the name renders, the :8080 stops the OS from finding the file. If we remove the :8080 after the error, the file is retrieved and displayed.

We use an Apache alias entry to tell the web server where to find the file directory. We have Apache on port 80 and Tomcat on port 8080.

Any help on this issue?
View Original Thread
Comments
0
Be the first to comment

Join with account you already have


Sign in with Twitter account
Sign in with Facebook account
Sign in with Google Friend Connect
avatar
Tags: web, file, server, apache
Updated: (FOR-1073) link elements with no href are created by html-to-document.xsl for a/name
Jul 27, 2010
[ https://issues.apache.org/jira/browse/FOR-1073?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tim Williams updated FOR-1073:

Issue with Eclipse 3.6, Tomcat 6/7 with Apache Myfaces 2.0
Jul 23, 2010
Hi All I have defined a dynamic web project in Eclipse 3.6 to which i have added a user library that has all the Myfaces 2.0 jars as well as the el-api-1.1 and el-impl-1.1 jars. When i publish the project under wtp to the reference tomcat, i get…

Apache Tomcat 5.5.0 issue - SEVERE: All threads (200) are currently busy, waiting. Increase maxThreads
Aug 24, 2010
Hi again, Since my first email might have not be that clear I'll re phrase it, I'm currently running a Tomcat webserver for an application that my company uses. It run's on windows server 2003, and the startup command was customized for our…

what is document root in Tomcat
Jul 5, 2010
I am not clear with Document Root for Tomcat which is some thing in Apache only I have worked with. I have an application named sakai http://confluence.sakaiproject.org/display/DOC/Install+Guide+-+Binary+Install+(2.7) I downloaded it svn co…

putting the 'document' back into document/literal
Jul 16, 2010
I find myself looking at creating a service where I want a return value which is, in fact, an XML document. I don't want any binding, I don't even want a DOM tree. Essentially, I want an MTOM binding on a byte[] of XML so that I can do whatever I…

svn commit: r981203 - in /tomcat/trunk: java/org/apache/tomcat/util/bcel/ java/org/apache/tomcat/util/bcel/classfile/ webapps/docs/
Aug 1, 2010
Author: markt Date: Sun Aug 1 11:13:10 2010 New Revision: 981203 URL: http://svn.apache.org/viewvc?rev=981203&view=rev Log: Update packaged re-named Jakarta BCEL Modified: tomcat/trunk/java/org/apache/tomcat/util/bcel/ (props changed) …

svn commit: r947932 - in /tomcat/trunk/modules/tomcat-lite: examples/ java/org/apache/tomcat/integration/ java/org/apache/tomcat/integration/jmx/ java
May 25, 2010
Author: costin Date: Tue May 25 06:12:38 2010 New Revision: 947932 URL: http://svn.apache.org/viewvc?rev=947932&view=rev Log: Remove the 'integration' - ObjectManager and wrapping of DI frameworks. Lite is just a library/connector - doesn't…

svn commit: r959790 - in /tomcat/trunk: java/org/apache/catalina/connector/ java/org/apache/tomcat/util/http/mapper/ webapps/docs/
Jul 1, 2010
Author: markt Date: Thu Jul 1 21:35:19 2010 New Revision: 959790 URL: http://svn.apache.org/viewvc?rev=959790&view=rev Log: Fix https://issues.apache.org/bugzilla/show_bug.cgi?id=49536 Ensure a 404 response for an unmapped request when no…

svn commit: r965150 - in /tomcat/trunk: java/org/apache/catalina/connector/ java/org/apache/tomcat/util/net/ webapps/docs/ webapps/docs/config/
Jul 17, 2010
Author: markt Date: Sat Jul 17 23:57:23 2010 New Revision: 965150 URL: http://svn.apache.org/viewvc?rev=965150&view=rev Log: Restore pero's timeout fix for the BIO connector. Add configuration of the timeout. Modified: …

svn commit: r947952 - in /tomcat/trunk/modules/tomcat-lite/test/org/apache/tomcat/lite/http: spdyreq0.bin spdyreqCompressed.bin
May 25, 2010
Author: costin Date: Tue May 25 07:37:23 2010 New Revision: 947952 URL: http://svn.apache.org/viewvc?rev=947952&view=rev Log: Missed 2 files - older version of the protocol, will update them when I get to the new proto. Added: …