WebSphere Application Server - Two Basic WebSphere questions

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Application Server > May 2004 > Two Basic WebSphere questions





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Two Basic WebSphere questions
Dan

2004-05-17, 2:34 pm

Hello all,

I am a software engineer tasked to figure out WebSphere. Since I have
minimum Application Server knowledge, and I am on a tight schedule, I
don't have a great deal of time to spend on this. After much playing
around I think I have everything figured out but two key points. If
anyone could please help me on these points, I would greatly
appreciate it.

First, before this, I have been using Tomcat for deployment of all my
projects. Hence, I would build a WAR file and deploy it. Now,
webSphere seems to understand war files, but I was asked by our client
to provide them with an EAR file instead. How do I build an EAR file
manually? I found some examples for how to build it in ANT, however I
was wondering if there was a way to build it from the command line.
Something similar to the JAR command to build a WAR file.

Second, I seem to have configured webSphere correctly. I am able to
add projects using the administration console, and everything seems to
be working in order. However, to access my project, I need to access
it via port 9080. Now, I am sure I can configure WebSphere to work on
port 80 instead, but I was under the impression that I am suppose to
configure it in some way so that it would run through IBM's HTTP
Server. Am I correct in this? I hope so, because I also need to run
SSL, and I have SSL configured to run through the HTTP Server. If I
need to set up some sort of bridging, would anyone know where I can
find instructions on how to do it? If I need to reconfigure the
default port for webSphere, how do I get SSL to work through webSphere
instead of HTTP Server?

I am sorry to post such mundane questions. Unfortunately, I have been
scouring the groups for some time now and have come up with few
answers. If you could provide me with some links that would help me
out, I would greatly appreciate it.

Thanks in advance,
Dan
Ben_

2004-05-17, 3:34 pm

1- There is a separate installation package called "Application Server Tool
Kit" (ASTK) in WAS v5. It's a GUI that allows to build an EAR file by simply
importing a WAR (you just need to specify the root URI). It's
straightforward to use.

2- You have two options:
* Have the application server listen on port 80 instead of 9080 (so-called
"embedded" HTTP server). If I'm not wrong, it can be configured to support
HTTPS as well, since when the Administrative Console is secured it turns to
HTTPS.
* Install and configure a full blown web server, like IBM HTTP Server which
ships with the product. I'd recommend this as it allows much more
configuration (it's Apache behind the scenes). In this case, WebSphere has a
module loaded in the web server to bridge to your WebSphere application (the
web server plug-in in the WebSphere parlance). When you use this mechanism
and install a new application, you need to regenerate the web server plug-in
configuration file (plugin-cfg.xml), which knows how to route HTTP request
from the web server to you app. This action can be done from the console. If
you installed WebSphere with the default settings IBM HTTP Server 1.3 should
already be installed and configured.

The Info Center is helpful
(http://www-306.ibm.com/software/web...infocenter.html).


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com