Mapping static files using WebSphere App Server

Posted on 2010-11-30
Last Modified: 2013-12-10

Is there any way where I can use WebSphere Application server as webserver like in Weblogic.

I have few aliases which points to different directories like below:
Alias /ab_image/ "/opt/Resource/images/"

the above way i map it in IHS and it works fine. but I want to know without the IHS how I will be able to achieve the same. Like in weblogic I can do it directly without any webserver.
Question by:Ramakanta Sahoo
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
LVL 41

Expert Comment

ID: 34242889
You can do it, but don't!

The "HTTP" server that exists in the WebSphere Application Server product is a thin implementation of an HTTP server.  It is not intended to be used as a front end HTTP server.

Doing so would expose your Application Server to the Wild Wild West (aka World Wide Web).

Your Application Server should be behind (at least) 2 firewalls, and your web server (i.e., HTTP server) should be in the demilitarized zone (DMZ) behind (at least) 1 firewall, and with (at least) 1 firewall between it, and the Application Server.

The IBM HTTP Server (IHS) and the websphere plugin work together to provide a great deal of function that does not exist in the WebSphere Application Server (thin) HTTP layer.

Author Comment

by:Ramakanta Sahoo
ID: 34243537
I not that bothered of having security concerns.
As this is my local development WAS instance  i just want to know the configurations to make it work. I mean my aliases will work.
Alias /ab_image/ "/opt/Resource/images/"

If anything can be done to make it available then it will be great help for me.
LVL 41

Expert Comment

ID: 34243684
Ah, ok, in that case, let me look for something to help you out.
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!


Author Comment

by:Ramakanta Sahoo
ID: 34255113
Any possible solutions??!!
LVL 41

Accepted Solution

HonorGod earned 500 total points
ID: 34260533
It looks like your best bet is to use the extendedDocumentRoot custom property, as documented here:

This lets you define a directory outside of the WAR file from which content may be served.

Author Comment

by:Ramakanta Sahoo
ID: 34262578
So where shall i put this custom property and how.

For my instance I need alia like below

Alias /ab_image/ "/opt/Resource/images/"

so when I access http://WAS_HOST_NAME:9080/ab_image/logo.gif

it should go to the images directory and show the logo.

btw thanks a lot for the pointer.
LVL 41

Expert Comment

ID: 34543526
Thanks for the grade & points.

Good luck & have a great day.

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
IBM WAS 8.5 Deploying a war 3 61
splunk tool 1 80
zip zap java cchallenge 3 122
Glassfish admin console not working 1 88
Upgrading Tomcat – There are a couple of methods to upgrade Tomcat is to use The Apache Installer is to download and unzip and run the services.bat remove|install Tomcat6 Because of the App that we are working with, we can only use Tomcat 6.…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Suggested Courses

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question