Solved

Running servlets under WS Studio and WAS 4

Posted on 2002-07-10
3
182 Views
Last Modified: 2013-12-10
I've taken one of the WS Studio examples, FastEmployeeList_21, compiled it, exported
the EAR
 into WAS 4.0 and deployed it.  I need to know several things.  First, how do I run
this in Studio?
How do I figure out what URL to put in the browser to run it in WAS4.0?  (i.e http://localhost:????/??????.)
Do i need to make some kind of html page to invoke it?
This is the web.xml listing.

 <?xml version="1.0" encoding="UTF-8" ?>
  <!DOCTYPE application (View Source for full doctype...)>
- <application id="Application_ID">
  <display-name>FastEmployeeListEAR</display-name>
- <module id="WebModule_1">
- <web>
  <web-uri>FastEmployeeList.war</web-uri>
  <context-root>FastEmployeeList</context-root>
  </web>
  </module>
  </application>
 

0
Comment
Question by:xoxomos
3 Comments
 
LVL 3

Expert Comment

by:jerelw
Comment Utility
What is the signature of the virtual host you bound your Application to?

Then, what is the URL Pattern you mapped you servlet to?

Did you configure your .war file to serve servlets by class name?

0
 

Author Comment

by:xoxomos
Comment Utility
1.You mean like default_host?
2. None.  I didn't use the AAT to put anything togather.  I just exported the EAR from Studio, then deployed whatever Studio produced onto WAS.
3. No,  
0
 

Accepted Solution

by:
Mommasal earned 100 total points
Comment Utility
In my experience with WAS 4.0, it usually deploys applications to port 9080, so it would be http://localhost:9080/...
Then you should look in the AppServer directory for installedApps, then the deployed .ear file, maybe FastEmployeeList_21.ear, then the .war file, similarly, FastEmployeeList_21.war, and that should be the starting address for the application.  So the address would be http://localhost:9080/FastEmployeeList_21/whatever is in the .war file...
The example should have a start page to invoke the app, probably a .jsp, so I recommend searching for one, and just plugging in into your browser...
like http://localhost:9080/FastEmployeeList_21/stuff/TestClient.jsp

But maybe you've already figured it out
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Configure Web Service (server application) I. Configure security for Web Services methods First, we need to protect Session bean which implements the service: 1. Open EJB deployment descriptor (ejb-jar.xml) in the EJB project that contains you…
This exercise is about for the following scenario: Dmgr and One node with 2 application server. Each application server contains it owns application. Application server name as follows server1 contains app1 server2 contains app1 Prereq…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now